﻿using System;
using System.IO;
using System.Collections;
using System.ComponentModel;
using System.Diagnostics;
using System.Windows.Forms;
using System.Threading;
using System.Globalization;
using System.Collections.Generic;
using System.Drawing;

namespace EnhSimGUI
{
    internal partial class MainForm : Form
    {
        static readonly string scCurrentVersion = "2.7.0";
        private TabPage mSolverPage;
        private Button btnSolvePriorities;
        private Label label171;
        private Button btnTestDLL;
        private GroupBox groupBox9;
        private TextBox mSpellCritText;
        private TextBox mSpellHasteText;
        private TextBox mSPText;
        private TextBox mSpellHitText;
        private TextBox mMaxManaText;
        private TextBox mMp5Text;
        private GroupBox groupBox4;
        private TextBox mMainHandCritText;
        private TextBox mMainHandHitText;
        private TextBox mExpertiseRatingText;
        private TextBox mAPText;
        private TextBox mMeleeHasteText;
        private GroupBox groupBox6;
        private TextBox mSpiritText;
        private TextBox mStrengthText;
        private TextBox mAgilityText;
        private TextBox mIntText;
        private TextBox mMasteryRatingText; 
        private GroupBox groupBox3;
        private TextBox mMainHandDpsText;
        private TextBox mMainHandSpeedText;
        private TextBox mOffHandSpeedText;
        private TextBox mOffHandDpsText;
        private Button mCopyFromClipboardButton;
        private ComboBox mRaceCombo;
        private TabControl mSecondaryTabs;
        private TabPage mBossPage;
        private GroupBox groupBox18;
        private TextBox tb_addTargets;
        private TextBox textBox1;
        private TextBox tb_addTargetsLevel;
        private TextBox textBox2;
        private TextBox tb_addTargetPercent;
        private TextBox textBox3;
        private TextBox textBox5;
        private TextBox textBox4;
        private GroupBox groupBox17;
        private TextBox tb_frost_resistance;
        private TextBox tb_nature_resistance;
        private TextBox tb_arcane_resistance;
        private TextBox tb_shadow_resistance;
        private TextBox tb_fire_resistance;
        private TextBox tb_glancing;
        private TextBox tb_armor;
        private TextBox tb_dodge;
        private TextBox tb_spell_miss;
        private TextBox tb_miss;
        private TextBox tb_fightName;
        private Label label168;
        private TabPage mProcPage;
        private GroupBox groupBox2;
        private ComboBox cb_trinket1;
        private ComboBox cb_metagem;
        private ComboBox cb_ring_proc;
        private ComboBox cb_trinket2;
        private ComboBox cb_cloak_enchant;
        private ComboBox cb_set_bonus1;
        private ComboBox cb_gloves_enchant;
        private ComboBox cb_set_bonus3;
        private ComboBox cb_set_bonus2;
        private GroupBox groupBox11;
        private ComboBox cb_oh_enchant;
        private ComboBox cb_oh_imbue;
        private ComboBox cb_mh_enchant;
        private ComboBox cb_oh_weapon;
        private ComboBox cb_mh_imbue;
        private ComboBox cb_mh_weapon;
        private ComboBox cb_glyph_major3;
        private ComboBox cb_glyph_major2;
        private ComboBox cb_glyph_major1;
        private ComboBox cb_glyph_prime3;
        private ComboBox cb_glyph_prime2;
        private ComboBox cb_glyph_prime1;
        private TabPage mTalentPage;
        private ComboBox cb_primary_talent;
        private ComboBox cb_elemental_weapons;
        private ComboBox cb_focused_strikes;
        private ComboBox cb_improved_shields; 
        private ComboBox cb_elemental_devastation;
        private ComboBox cb_flurry;
        private ComboBox cb_static_shock;
        private ComboBox cb_searing_flames;
        private ComboBox cb_frozen_power;
        private ComboBox cb_shamanistic_rage;
        private ComboBox cb_unleashed_rage;
        private ComboBox cb_improved_lava_lash;
        private ComboBox cb_maelstrom_weapon;
        private ComboBox cb_convection;
        private ComboBox cb_concussion;
        private ComboBox cb_call_of_flame;
        private ComboBox cb_reverberation;
        private ComboBox cb_elemental_precision;
        private ComboBox cb_elemental_focus;
        private ComboBox cb_elemental_oath;
        private ComboBox cb_lava_flows;
        private ComboBox cb_storm_earth_and_fire;
        private ComboBox cb_elemental_mastery;
        private ComboBox cb_feedback;
        private ComboBox cb_lava_surge;
        private TabPage mRotationPage;
        private Button mRotationMoveToStandard;
        private Button mRotationMoveToAoE;
        private ListBox lbRotationSkills;
        private GroupBox groupBox16;
        private Button btnDeleteSkillAoE;
        private Button btnAoERotationDown;
        private Button btnAoERotationUp;
        private ListBox lbAoERotationPriority;
        private Button btnDeleteSkillStandard;
        private ListBox lbStandardRotationPriority;
        private Button btnStandardRotationDown;
        private Button btnStandardRotationUp;
        private TabPage mCombatParameters;
        private CheckBox mCastSRonCooldown;
        private TextBox tb_use_mana_potion_if_mana_left;
        private TextBox tb_cast_sr_only_if_mana_left;
        private CheckBox cb_oh_auto_attack;
        private CheckBox cb_mh_auto_attack;
        private TabPage mBuffPage;
        private ComboBox cb_guardian_elixir;
        private ComboBox cb_flask_elixir;
        private ComboBox cb_food;
        private ComboBox cb_potion;
        private CheckBox cb_armor_debuff;
        private TextBox tb_armor_debuff;
        private CheckBox cb_physical_vulnerability_debuff;
        private TextBox tb_physical_vulnerability_debuff;
        private CheckBox cb_melee_haste_buff;
        private TextBox tb_melee_haste_buff;
        private CheckBox cb_crit_chance_buff;
        private TextBox tb_crit_chance_buff;
        private CheckBox cb_attack_power_buff_multiplier;
        private TextBox tb_attack_power_buff_multiplier;
        private CheckBox cb_spell_haste_buff;
        private TextBox tb_spell_haste_buff;
        private CheckBox cb_spell_crit_chance_debuff;
        private TextBox tb_spell_crit_chance_debuff;
        private CheckBox cb_spell_damage_debuff;
        private TextBox tb_spell_damage_debuff;
        private CheckBox cb_spellpower_buff;
        private TextBox tb_spellpower_buff;
        private CheckBox cb_percentage_damage_increase;
        private TextBox tb_percentage_damage_increase;
        private CheckBox cb_stat_multiplier;
        private TextBox tb_stat_multiplier;
        private CheckBox cb_agi_and_strength_buff;
        private TextBox tb_agi_and_strength_buff;
        private CheckBox cb_mana_buff;
        private TextBox tb_mana_buff;
        private CheckBox cb_mana_regen_buff;
        private TextBox tb_mana_regen_buff;
        private TabPage mEPPage;
        private TextBox tb_ep_mp5;
        private TextBox tb_ep_spirit;
        private TextBox tb_ep_mana;
        private TextBox tb_ep_spellpower;
        private TextBox tb_ep_dps;
        private TextBox tb_ep_int;
        private TextBox mOutputText;
        private CheckBox mSimulateManaCheck;
        private TextBox mMaxLagText;
        private TextBox mMinLagText;
        private Button mCalcEPValuesButton;
        private TextBox mCombatVarText;
        private TextBox mReportCountText;
        private TextBox mCombatLengthText;
        private TextBox mSimTimeCombatLogText;
        private TextBox mSimTimeText;
        private Button mSimulateButton;
        private ListBox mInfoListBox;
        private TextBox mSimLocationText;
        private Button mSimPathBrowseButton;
        private Button mReportButton;
        private GroupBox groupBox20;
        private GroupBox groupBox21;
        private Button btnEnhSimHomepage;
        private CheckBox cb_mixology;
        private CheckBox cb_water_shield;
        private CheckBox cb_replenishment;
        private Panel panel1;
        private Label label8;
        private Label label124;
        private Label label122;
        private Label label126;
        private Label label128;
        private Label label127;
        private Label label130;
        private Label label129;
        private TextBox tb_ep_haste;
        private TextBox tb_ep_expertise;
        private TextBox tb_ep_hit;
        private TextBox tb_ep_ap;
        private TextBox tb_ep_crit;
        private Label label132;
        private Label label131;
        private GroupBox groupBox23;
        private GroupBox groupBox24;
        private NumericUpDown nud_ep_precision;
        private ComboBox cb_ep_base_stat;
        private NumericUpDown nud_cast_magma_only_with_ticks_left;
        private NumericUpDown nud_cast_fs_only_if_dots_left;
        private CheckBox cb_cast_lvb_only_if_fs_active;
        private Label label156;
        private CheckBox cb_bloodlust;
        private CheckBox cb_always_bloodlust_sw;
        private Label label50;
        private Label label83;
        private Label label77;
        private Label label1339;
        private TextBox tb_ep_mastery_rating;
        private CheckBox cb_armor_type_bonus;
        private TextBox tb_ep_agility;
        private TextBox tb_ep_strength;
        private GroupBox groupBox26;
        private NumericUpDown nud_cast_searing_only_with_ticks_left;
        private ComboBox cb_weapon_set_proc;
        private NumericUpDown nud_use_potion_before_combat;
        private ComboBox cb_profession_buff;
        private string loadedVersion = string.Empty;

        public MainForm(bool willWork)
        {
            InitializeComponent();

            FillTrinketsDictionary();
            FillEnchantDictionary();
            FillMetagemDictionary();

            //cb_trinket1.AutoCompleteSource = mTrinkets.Values;
            //cb_trinket2.AutoCompleteSource = mTrinkets.Values;

            base.AutoScaleDimensions = new SizeF(6f, 13f);

            Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US", false);
            mInfoListCount = 8;
            int num = 0;
            do
            {
                mInfoList.Add("");
                num++;
            }
            while (num < mInfoListCount);
        }

        #region EventHandlers

        private void mMinLagText_TextChanged(object sender, EventArgs e)
        {
            mInfoList[6] = "";
            mInfoList[7] = "";
            decimal minLag = 0;
            decimal.TryParse(mMinLagText.Text, out minLag);
            if (minLag < 200)
            {
                mInfoList[6] = "WARNING: Minimum lag is set unrealistically low.";
                mInfoList[7] = "INFO:\t   Lag is the sum of human reaction time and network lag.";
            }
            if (minLag < 100)
                mInfoList[6] = "WARNING: Minimum lag value chosen is almost humanly impossible to achieve fool! You're not Mr. T and can't hack the World of Warcraft.";
            updateInfoList();
        }

        private void mSimulateButton_Click(object sender, EventArgs e)
        {
            writeConfigFile("enhsimgui_config.txt");
            try
            {
                if (!string.IsNullOrEmpty(mSimLocationText.Text) && System.IO.File.Exists(mSimLocationText.Text))
                {
                    if (string.IsNullOrEmpty(mOutputText.Text))
                    {
                        Process.Start(mSimLocationText.Text.ToLower(), "enhsimgui_config.txt");
                    }
                    else
                    {
                        Process.Start(mSimLocationText.Text.ToLower(), "enhsimgui_config.txt output=" + mOutputText.Text.ToLower());
                    }
                }
                else
                {
                    MessageBox.Show("Input the correct enhsim executable location in the path box.", "EnhSim executable missing or invalid.", MessageBoxButtons.OK, MessageBoxIcon.Information);
                }
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }

        private void mCalcEPValuesButton_Click(object sender, EventArgs e)
        {
            writeConfigFile("enhsimgui_config.txt");
            try
            {
                if (!string.IsNullOrEmpty(mSimLocationText.Text) && System.IO.File.Exists(mSimLocationText.Text))
                {
                    if (string.IsNullOrEmpty(mOutputText.Text))
                    {
                        Process.Start(mSimLocationText.Text, "enhsimgui_config.txt ep");
                    }
                    else
                    {
                        Process.Start(mSimLocationText.Text, "enhsimgui_config.txt ep output=" + mOutputText.Text);
                    }
                }
                else
                {
                    MessageBox.Show("Input the correct enhsim executable location in the path box.", "EnhSim executable missing or invalid.", MessageBoxButtons.OK, MessageBoxIcon.Information);
                }
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }

        private void mSimPathBrowseButton_Click(object sender, EventArgs e)
        {
            openFileDialog2.ShowDialog();
            string filename = openFileDialog2.FileName;
            if (!string.IsNullOrEmpty(filename))
            {
                mSimLocationText.Text = filename;
            }
        }

        private void mCopyFromClipboardButton_Click(object sender, EventArgs e)
        {
            importFromClipboard();
        }

        private void cb_agi_and_strength_buff_CheckedChanged(object sender, EventArgs e)
        {
            tb_agi_and_strength_buff.Enabled = cb_agi_and_strength_buff.Checked;
        }

        private void cb_armor_debuff_CheckedChanged(object sender, EventArgs e)
        {
            tb_armor_debuff.Enabled = cb_armor_debuff.Checked;
        }

        private void cb_attack_power_buff_multiplier_CheckedChanged(object sender, EventArgs e)
        {
            tb_attack_power_buff_multiplier.Enabled = cb_attack_power_buff_multiplier.Checked;
        }

        private void cb_primary_talent_SelectedIndexChanged(object sender, EventArgs e)
        {
            calculateHitCap();
        }

        private void cb_elemental_precision_SelectedIndexChanged(object sender, EventArgs e)
        {
            calculateHitCap();
        }

        private void cb_food_SelectedIndexChanged(object sender, EventArgs e)
        {
            calculateHitCap();
            calculateExpertiseCap();
        }

        private void cb_flask_elixir_SelectedIndexChanged(object sender, EventArgs e)
        {
            calculateHitCap();
            calculateExpertiseCap();
        }

        private void cb_mana_buff_CheckedChanged(object sender, EventArgs e)
        {
            tb_mana_buff.Enabled = cb_mana_buff.Checked;
        }

        private void cb_mana_regen_buff_CheckedChanged(object sender, EventArgs e)
        {
            tb_mana_regen_buff.Enabled = cb_mana_regen_buff.Checked;
        }

        private void cb_crit_chance_buff_CheckedChanged(object sender, EventArgs e)
        {
            tb_crit_chance_buff.Enabled = cb_crit_chance_buff.Checked;
        }

        private void cb_melee_haste_buff_CheckedChanged(object sender, EventArgs e)
        {
            tb_melee_haste_buff.Enabled = cb_melee_haste_buff.Checked;
        }

        private void cb_mh_weapon_SelectedIndexChanged(object sender, EventArgs e)
        {
            calculateExpertiseCap();
        }

        private void cb_oh_weapon_SelectedIndexChanged(object sender, EventArgs e)
        {
            calculateExpertiseCap();
        }

        private void cb_percentage_damage_increase_CheckedChanged(object sender, EventArgs e)
        {
            tb_percentage_damage_increase.Enabled = cb_percentage_damage_increase.Checked;
        }

        private void cb_physical_vulnerability_debuff_CheckedChanged(object sender, EventArgs e)
        {
            tb_physical_vulnerability_debuff.Enabled = cb_physical_vulnerability_debuff.Checked;
        }

        private void cb_race_SelectedIndexChanged(object sender, EventArgs e)
        {
            calculateExpertiseCap();
        }

        private void cb_spell_crit_chance_debuff_CheckedChanged(object sender, EventArgs e)
        {
            tb_spell_crit_chance_debuff.Enabled = cb_spell_crit_chance_debuff.Checked;
        }

        private void cb_spell_damage_debuff_CheckedChanged(object sender, EventArgs e)
        {
            tb_spell_damage_debuff.Enabled = cb_spell_damage_debuff.Checked;
        }

        private void cb_spell_haste_buff_CheckedChanged(object sender, EventArgs e)
        {
            tb_spell_haste_buff.Enabled = cb_spell_haste_buff.Checked;
        }

        private void cb_spellpower_buff_CheckedChanged(object sender, EventArgs e)
        {
            tb_spellpower_buff.Enabled = cb_spellpower_buff.Checked;
        }

        private void cb_stat_multiplier_CheckedChanged(object sender, EventArgs e)
        {
            tb_stat_multiplier.Enabled = cb_stat_multiplier.Checked;
        }

        private void cb_unleashed_rage_SelectedIndexChanged(object sender, EventArgs e)
        {
            calculateExpertiseCap();
        }

        private void cb_water_shield_CheckedChanged(object sender, EventArgs e)
        {
            elementalShieldChanged();
        }

        private void clb_rotation_priority_MouseUp(object sender, MouseEventArgs e)
        {
            elementalShieldChanged();
        }

        private void mDonateButton_Click(object sender, EventArgs e)
        {
            //System.Windows.Forms.MessageBox.Show( "Just give your money to EJ, or send gold to Alandovos (Blackrock-US)" );
            //Process.Start("https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=tuomas%2evalimaki%40gmail%2ecom&item_name=EnhSim&no_shipping=1&cn=Feedback&tax=0&currency_code=EUR&lc=FI&bn=PP%2dDonationsBF&charset=UTF%2d8");
        }

        private void mExitToolStripMenuItem_Click(object sender, EventArgs e)
        {
            base.Close();
        }

        private void mOpenToolStripMenuItem_Click(object sender, EventArgs e)
        {
            mOpenFileDialog.ShowDialog();
        }

        private void openBossFileToolStripMenuItem_Click(object sender, EventArgs e)
        {
            mOpenBossFileDialog.ShowDialog();
        }

        private void saveBossFileAsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            mSaveBossFileDialog.ShowDialog();
        }

        private void MainForm_FormClosing(object sender, FormClosingEventArgs e)
        {
            Application.UserAppDataRegistry.SetValue("enhsim_file", mSimLocationText.Text);
            if (!string.IsNullOrEmpty(mConfigstring))
            {
                Application.UserAppDataRegistry.SetValue("last_config", mConfigstring);
            }
            Application.UserAppDataRegistry.SetValue("output", mOutputText.Text);
        }

        private void MainForm_Load(object sender, EventArgs e)
        {
            _timerCheckForUpdates = new System.Threading.Timer(new System.Threading.TimerCallback(_timerCheckForUpdates_Callback));
            _timerCheckForUpdates.Change(3000, 1000 * 60 * 60 * 8); //Check for updates 3 sec after the form loads, and then again every 8 hours

            mSecondaryTabs.SelectedTab = mSecondaryTabs.TabPages[mSecondaryTabs.TabPages.IndexOfKey("mProcPage")];
            mSecondaryTabs.SelectedTab = mSecondaryTabs.TabPages[mSecondaryTabs.TabPages.IndexOfKey("mRotationPage")];
            mSecondaryTabs.SelectedTab = mSecondaryTabs.TabPages[mSecondaryTabs.TabPages.IndexOfKey("mTalentPage")];
            mSecondaryTabs.SelectedTab = mSecondaryTabs.TabPages[mSecondaryTabs.TabPages.IndexOfKey("mBuffPage")];
            mSecondaryTabs.SelectedTab = mSecondaryTabs.TabPages[mSecondaryTabs.TabPages.IndexOfKey("mEPPage")];
            mSecondaryTabs.SelectedTab = mSecondaryTabs.TabPages[mSecondaryTabs.TabPages.IndexOfKey("mBossPage")];
            mSimLocationText.Text = Directory.GetCurrentDirectory() + "\\EnhSim.exe";

            object obj4 = Application.UserAppDataRegistry.GetValue("last_config");
            if (obj4 != null)
            {
                string str = obj4.ToString();
                mConfigstring = str;
                if (!readConfigFile(str))
                {
                    mConfigstring = "";
                    Text = "EnhSimGUI v" + scCurrentVersion;
                }
                else
                {
                    Text = getTitleText(mConfigstring);
                    if (!scCurrentVersion.Equals(loadedVersion))
                        MessageBox.Show("The last used config file is a different version from the program.\r\nWe recommend using File Load to load the default config.txt file supplied in zip file.", "Outdated config file" , MessageBoxButtons.OK, MessageBoxIcon.Information);
                }
            }
            object obj3 = Application.UserAppDataRegistry.GetValue("output");
            if (obj3 != null)
            {
                mOutputText.Text = obj3.ToString();
            }
        }

        private string getTitleText(string mConfigString)
        {
            return "EnhSimGui v" + scCurrentVersion + " - " + mConfigstring + " (Config Version " + loadedVersion + ")";
        }

        private void mOpenFileDialog_FileOk(object sender, CancelEventArgs e)
        {
            string fileName = mOpenFileDialog.FileName;
            mConfigstring = fileName;
            readConfigFile(fileName);
            Text = getTitleText(mConfigstring);
        }

        private void mOpenBossFileDialog_FileOk(object sender, CancelEventArgs e)
        {
            readBossFile(mOpenBossFileDialog.FileName);
        }

        private void mSaveAsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            mSaveFileDialog.ShowDialog();
        }

        private void mSaveFileDialog_FileOk(object sender, CancelEventArgs e)
        {
            string fileName = mSaveFileDialog.FileName;
            mConfigstring = fileName;
            writeConfigFile(fileName);
            Text = getTitleText(mConfigstring);
        }

        private void mSaveBossFileDialog_FileOk(object sender, CancelEventArgs e)
        {
            string fileName = mSaveBossFileDialog.FileName;
            System.IO.StreamWriter theFile = new System.IO.StreamWriter(fileName, false);
            writeBossFile(theFile, fileName);
            theFile.Close();
            theFile.Dispose();
            MessageBox.Show("Bossfile saved");
        }

        private void mSaveToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(mConfigstring))
            {
                mSaveFileDialog.ShowDialog();
            }
            else
            {
                writeConfigFile(mConfigstring);
            }
        }

        private void tb_agility_TextChanged(object sender, EventArgs e)
        {
        }

        private void tb_dodge_TextChanged(object sender, EventArgs e)
        {
            calculateExpertiseCap();
        }

        private void tb_ep_expertise_TextChanged(object sender, EventArgs e)
        {
            calculateExpertiseCap();
        }

        private void tb_ep_hit_TextChanged(object sender, EventArgs e)
        {
            calculateHitCap();
        }

        private void tb_ep_spirit_TextChanged(object sender, EventArgs e)
        {
            calculateHitCap();
        }

        private void tb_expertise_rating_TextChanged(object sender, EventArgs e)
        {
            calculateExpertiseCap();
        }

        private void tb_mh_hit_TextChanged(object sender, EventArgs e)
        {
            calculateHitCap();
        }

        private void tb_miss_TextChanged(object sender, EventArgs e)
        {
            calculateHitCap();
        }

        private void tb_spell_hit_TextChanged(object sender, EventArgs e)
        {
            calculateHitCap();
        }

        private void tb_spell_miss_TextChanged(object sender, EventArgs e)
        {
            calculateHitCap();
        }

        private void tb_spirit_TextChanged(object sender, EventArgs e)
        {
            calculateHitCap();
        }

        #region Links Menu
        private void HandleEnhSimHomepageClick(object sender, EventArgs e)
        {
            Help.ShowHelp(null, "http://enhsim.codeplex.com");
        }

        private void HandleEnhSimDocsClicked(object sender, EventArgs e)
        {
            Help.ShowHelp(null, "http://enhsim.codeplex.com/documentation");
        }

        private void HandleEnhSimIssuesClicked(object sender, EventArgs e)
        {
            Help.ShowHelp(null, "http://enhsim.codeplex.com/WorkItem/List.aspx");
        }

        private void rawrHomepageToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Help.ShowHelp(null, "http://rawr.codeplex.com");
        }

        private void eJForumEnhSimThreadToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Help.ShowHelp(null, "http://elitistjerks.com/f79/t110302-enhsim_cataclysm/");
        }
        #endregion

        private void HandleSetBonusChanged(object sender, EventArgs e)
        {
            
            string[] setbonus1 = new string[3];
            string[] setbonus2 = new string[3];
            string[] setbonus3 = new string[3];

            //Example: if setbonus is t9 battlegear 2 the array will be filled as follows:
            //[0] = t9 battlegear 2
            //[1] = t9 battlegear
            //[2] = 2
            if (cb_set_bonus1.Text.Length > 3)
            {
                setbonus1[0] = cb_set_bonus1.Text;
                setbonus1[1] = setbonus1[0].Substring(0, setbonus1[0].Length - 2);
                setbonus1[2] = setbonus1[0].Substring(setbonus1[0].Length - 2);
            }
            if (cb_set_bonus2.Text.Length > 3)
            {
                setbonus2[0] = cb_set_bonus2.Text;
                setbonus2[1] = setbonus2[0].Substring(0, setbonus2[0].Length - 2);
                setbonus2[2] = setbonus2[0].Substring(setbonus2[0].Length - 2);

                //Check setbonuses
                if (setbonus1[1] == setbonus2[1])
                {
                    if (Convert.ToInt32(setbonus1[2]) >= Convert.ToInt32(setbonus2[2]))
                    {
                        cb_set_bonus1.Text = setbonus1[0];
                        cb_set_bonus2.Text = "-";
                    }
                    else
                    {
                        cb_set_bonus2.Text = setbonus2[0];
                        cb_set_bonus1.Text = "-";
                    }
                }
            }
            if (cb_set_bonus3.Text.Length > 3)
            {
                setbonus3[0] = cb_set_bonus3.Text;
                setbonus3[1] = setbonus3[0].Substring(0, setbonus3[0].Length - 2);
                setbonus3[2] = setbonus3[0].Substring(setbonus3[0].Length - 2);

                //Check setbonuses
                if (setbonus1[1] == setbonus3[1])
                {
                    if (Convert.ToInt32(setbonus1[2]) >= Convert.ToInt32(setbonus3[2]))
                    {
                        cb_set_bonus1.Text = setbonus1[0];
                        cb_set_bonus3.Text = "-";
                    }
                    else
                    {
                        cb_set_bonus3.Text = setbonus3[0];
                        cb_set_bonus1.Text = "-";
                    }
                }

                //Check setbonuses
                if (setbonus2[1] == setbonus3[1])
                {
                    if (Convert.ToInt32(setbonus2[2]) >= Convert.ToInt32(setbonus3[2]))
                    {
                        cb_set_bonus2.Text = setbonus2[0];
                        cb_set_bonus3.Text = "-";
                    }
                    else
                    {
                        cb_set_bonus3.Text = setbonus3[0];
                        cb_set_bonus2.Text = "-";
                    }
                }
            } 
        }

        private void HandleReportButtonClick(object sender, EventArgs e)
        {
           
        }

        #endregion

        #region Private Functions

        private void calculateExpertiseCap()
        {
            decimal expertiseToExpertiseRating = 30.25M;
            decimal expertiseRatingMainHand = new decimal();
            decimal expertiseRatingOffHand = new decimal();
            decimal.TryParse(mExpertiseRatingText.Text, out expertiseRatingMainHand);
            expertiseRatingOffHand = expertiseRatingMainHand;
            decimal unleashedRageRank = new decimal();
            decimal.TryParse(cb_unleashed_rage.Text, out unleashedRageRank);
            decimal unleashedRageRankToExpertise = 4.00M;
            decimal unleashedRageExpertiseRating = (unleashedRageRank * unleashedRageRankToExpertise) * expertiseToExpertiseRating;
            expertiseRatingMainHand += unleashedRageExpertiseRating;
            expertiseRatingOffHand += unleashedRageExpertiseRating;

            string foodBuff = cb_food.Text.ToLower();
            if (foodBuff.Equals("rhinolicious wormsteak"))
            {
                expertiseRatingMainHand += 40.00M;
                expertiseRatingOffHand += 40.00M;
            }
            else if (foodBuff.Equals("lavascale fillet"))
            {
                expertiseRatingMainHand += 60.00M;
                expertiseRatingOffHand += 60.00M;
            }
            else if (foodBuff.Equals("crocolisk au gratin"))
            {
                expertiseRatingMainHand += 90.00M;
                expertiseRatingOffHand += 90.00M;
            }

            if (cb_flask_elixir.Text.ToLower() == "elixir_of_expertise")
            {
                expertiseRatingMainHand += 45.00M;
                expertiseRatingOffHand += 45.00M;
            }
            
            if (mRaceCombo.Text.ToLower() == "orc")
            {
                if (cb_mh_weapon.Text.ToLower() == "axe" || 
                    cb_mh_weapon.Text.ToLower() == "fist" ||
                    cb_mh_weapon.Text.ToLower() == "nokaled rf" ||
                    cb_mh_weapon.Text.ToLower() == "nokaled" ||
                    cb_mh_weapon.Text.ToLower() == "nokaled heroic" ||
                    cb_mh_weapon.Text.ToLower() == "black bruise" || 
                    cb_mh_weapon.Text.ToLower() == "black bruise heroic")
                {
                    decimal orcExpertiseBonus = 3.00M;
                    expertiseRatingMainHand += orcExpertiseBonus * expertiseToExpertiseRating;
                }
                if (cb_oh_weapon.Text.ToLower().Equals("axe") || 
                    cb_oh_weapon.Text.ToLower() == "fist" ||
                    cb_mh_weapon.Text.ToLower() == "nokaled rf" ||
                    cb_mh_weapon.Text.ToLower() == "nokaled" ||
                    cb_mh_weapon.Text.ToLower() == "nokaled heroic")
                {
                    decimal orcExpertiseBonus = 3.00M;
                    expertiseRatingOffHand += orcExpertiseBonus * expertiseToExpertiseRating;
                }
            }
            else if (mRaceCombo.Text.ToLower() == "dwarf")
            {
                if (cb_mh_weapon.Text.ToLower() == "mace")
                {
                    decimal dwarfExpertiseBonus = 3.00M;
                    expertiseRatingMainHand += dwarfExpertiseBonus * expertiseToExpertiseRating;
                }
                if (cb_oh_weapon.Text.ToLower() == "mace")
                {
                    decimal dwarfExpertiseBonus = 3.00M;
                    expertiseRatingOffHand += dwarfExpertiseBonus * expertiseToExpertiseRating;
                }
            }
            decimal expertiseRatingEP = new decimal();
            decimal.TryParse(tb_ep_expertise.Text, out expertiseRatingEP);

            decimal dodgePercent = new decimal();
            decimal.TryParse(tb_dodge.Text, out dodgePercent);
            decimal dodgePercentToExpertise = 4.00M;
            decimal expertiseRatingCap = decimal.Ceiling(dodgePercent * dodgePercentToExpertise * expertiseToExpertiseRating);

            if (((expertiseRatingMainHand + expertiseRatingEP) > expertiseRatingCap) && ((expertiseRatingOffHand + expertiseRatingEP) > expertiseRatingCap))
            {
                mInfoList[3] = "INFO:\t   Expertise plus EP expertise value goes past cap ";
            }
            else if ((expertiseRatingMainHand + expertiseRatingEP) > expertiseRatingCap)
            {
                mInfoList[3] = "INFO:\t   Main hand expertise plus EP expertise value goes past cap ";
            }
            else if ((expertiseRatingOffHand + expertiseRatingEP) > expertiseRatingCap)
            {
                mInfoList[3] = "INFO:\t   Off-hand expertise plus EP expertise value goes past cap ";
            }
            else
            {
                mInfoList[3] = "";
            }

            updateInfoList();
        }

        private void calculateHitCap()
        {
            decimal meleeHitToHitRating = 120.109M;
            decimal spellHitToHitRating = 102.446M;

            decimal meleeHit = new decimal();
            decimal.TryParse(mMainHandHitText.Text, out meleeHit);
            decimal spellHit = new decimal();
            decimal.TryParse(mSpellHitText.Text, out spellHit);

            decimal bossMeleeMissRate = new decimal();
            decimal.TryParse(tb_miss.Text, out bossMeleeMissRate);
            decimal bossSpellMissRate = new decimal();
            decimal.TryParse(tb_spell_miss.Text, out bossSpellMissRate);

            decimal hitRatingEP = new decimal();
            decimal.TryParse(tb_ep_hit.Text, out hitRatingEP);
            decimal meleeHitRating = new decimal();
            decimal spellHitRating = new decimal();

            decimal spellHitFromSpirit = spellHit;
            decimal spiritBonus = new decimal();
            decimal elementalPrecisionRanks = new decimal();
            decimal.TryParse(cb_elemental_precision.Text, out elementalPrecisionRanks);
            decimal spiritRatingEP = new decimal();
            decimal.TryParse(tb_ep_spirit.Text, out spiritRatingEP);
            
            if (cb_primary_talent.Text.ToLower().Equals("enhancement"))
            {
                // We are assuming all enhancement shaman dual wield
                decimal meleeDualWieldMissPenalty = 19.00M;
                bossMeleeMissRate += meleeDualWieldMissPenalty;
            }
            else if (cb_primary_talent.Text.ToLower().Equals("elemental"))
            {
                // Need to handle something for elemental?
            }

            if (cb_flask_elixir.Text.ToLower() == "elixir_of_accuracy")
            {
                decimal accuracyHitRating = 45.00M;
                meleeHitRating += accuracyHitRating;
                spellHitRating += accuracyHitRating;
            }
            else if (cb_flask_elixir.Text.ToLower() == "elixir_of_mastery")
            {
                spiritBonus += 15.00M;
            }
            else if (cb_flask_elixir.Text.ToLower() == "gurus_elixir")
            {
                spiritBonus += 20.00M;
            }
            else if (cb_flask_elixir.Text.ToLower() == "elixir_of_draenic_wisdom")
            {
                spiritBonus += 30.00M;
            }
            else if (cb_flask_elixir.Text.ToLower() == "ghost_elixir")
            {
                spiritBonus += 225.00M;
            }

            else if (cb_flask_elixir.Text.ToLower() == "flask_of_flowing_water")
            {
                spiritBonus += 300.00M;
            }

            string foodBuff = cb_food.Text.ToLower();
            if (foodBuff.Equals("spicy hot talbuk"))
            {
                decimal talbukHitRating = 20.00M;
                meleeHitRating += talbukHitRating;
                spellHitRating += talbukHitRating;
            }
            else if (foodBuff.Equals("snapper extreme"))
            {
                decimal snapperHitRating = 40.00M;
                meleeHitRating += snapperHitRating;
                spellHitRating += snapperHitRating;
            }
            else if (foodBuff.Equals("seasoned crab"))
            {
                decimal snapperHitRating = 60.00M;
                meleeHitRating += snapperHitRating;
                spellHitRating += snapperHitRating;
            }
            else if (foodBuff.Equals("grilled dragon"))
            {
                decimal snapperHitRating = 90.00M;
                meleeHitRating += snapperHitRating;
                spellHitRating += snapperHitRating;
            }
            else if (foodBuff.Equals("whitecrest_gumbo"))
            {
                spiritBonus += 60.00M;
            }
            else if (foodBuff.Equals("delicious_sagefish_tail"))
            {
                spiritBonus += 90.00M;
            }

            // Apply any spell hit bonus from Elemental Precision from any
            // of the spirit buffs calculated above
            if (elementalPrecisionRanks > 0.00M)
            {
                spellHitRating += decimal.Divide(decimal.Multiply(spiritBonus, elementalPrecisionRanks), 3.00M);
            }

            meleeHit += decimal.Divide(meleeHitRating + hitRatingEP, meleeHitToHitRating);
            if (meleeHit > bossMeleeMissRate)
            {
                mInfoList[0] = "INFO:\t   Melee hit PLUS EP hit goes past cap.";
            }
            else
            {
                mInfoList[0] = "";
            }

            spellHit += decimal.Divide(spellHitRating + hitRatingEP, spellHitToHitRating);
            if (spellHit > bossSpellMissRate)
            {
                mInfoList[1] = "INFO:\t   Spell hit PLUS EP hit goes past cap with spells.";
            }
            else
            {
                mInfoList[1] = "";
            }

            mInfoList[2] = "";
            if (elementalPrecisionRanks > 0.00M)
            {
                spellHitFromSpirit += decimal.Divide(spellHitRating + decimal.Divide(decimal.Multiply(spiritRatingEP, elementalPrecisionRanks), 3.00M), spellHitToHitRating);
                if (spellHitFromSpirit > bossSpellMissRate)
                {
                    mInfoList[2] = "INFO:\t   Spell hit PLUS EP spirit goes past cap with spells.";
                }
            }

            //if( ( ( num4 >= num ) && ( num3 >= num ) ) && ( num2 >= num8 ) )
            //{
            //    mInfoList[0] = "MH, OH and spell hit are over the cap. mEPPage hit will be skipped.";
            //    mInfoList[1] = "";
            //    mInfoList[2] = "";
            //}
            updateInfoList();
        }

        private void elementalShieldChanged()
        {
            if (lbStandardRotationPriority.Items.Contains("LS") && cb_water_shield.Checked)
            {
                mInfoList[5] = "WARNING: Both Lightning Shield and Water Shield are in use.";
                updateInfoList();
            }
            else
            {
                mInfoList[5] = "";
                updateInfoList();
            }
        }

        private bool equalsZero(string str)
        {
            decimal result = new decimal();
            decimal.TryParse(str, out result);
            decimal num = 0;
            return (result == num);
        }

        private string frmt(string str, string str2)
        {
            //removes any spaces and ' from the string
            return (str.PadRight(0x20) + str2.Replace(' ', '_').Replace("'", ""));
        }

        private string frmtToGui(string str)
        {
            return (str.Replace('_', ' '));
        }

        private string frmtBuff(string str, string str2, bool flag)
        {
            if (flag)
            {
                return frmt(str, str2 + "/" + str2);
            }
            return frmt(str, "0/" + str2);
        }

        private string gcf(string str, Dictionary<string, string> cfg)
        {
            if (cfg.ContainsKey(str))
            {
                return cfg[str];
            }
            else
            {
                return "?";
            }
        }

        private string gcf_buff(string str, Dictionary<string, string> cfg)
        {
            string str2 = gcf(str, cfg);
            if (str2 != "?")
            {
                return str2.Substring(0, str2.IndexOf('/'));
            }
            return str2;
        }

        private string gcf_buffd(string str, Dictionary<string, string> cfg)
        {
            string str2 = gcf(str, cfg);
            if (str2 != "?")
            {
                string str3;
                int num = -1 - str2.IndexOf('/');
                str3 = str2.Substring(str2.IndexOf('/') + 1, str2.Length + num);
                return str3;
            }
            return str2;
        }

        private void importFromClipboard()
        {
            if (Clipboard.ContainsText())
            {
                string[] theClipboardText = Clipboard.GetText().Split("\n\r".ToCharArray(), StringSplitOptions.RemoveEmptyEntries);
                Dictionary<string, string> theContents = new Dictionary<string, string>();
                try
                {
                    foreach (string theStr in theClipboardText)
                    {
                        if (theStr.StartsWith("Name,Equipped"))
                            throw new Exception("Invalid EnhSimGUI Data");
                        ProcessLine(theContents, theStr);
                    }
                    setImportableData(theContents);
                }
                catch (Exception e)
                {
                    if (e.Message.Equals("Invalid EnhSimGUI Data"))
                        MessageBox.Show("Invalid clipboard data", "Invalid clipboard data.\nIn EnhSimGUI please use 'Copy EnhSim config to Clipboard', not 'Copy Data to clipboard'.", MessageBoxButtons.OK, MessageBoxIcon.Error);
                    else
                        MessageBox.Show("Clipboard parse error.  Please submit to http://enhsim.codeplex.com/WorkItem/List.aspx.", "Import error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }
            else
            {
                MessageBox.Show("Clipboard does not containt text.", "Import error");
            }
        }

        private static void ProcessLine(Dictionary<string, string> theContents, string theStr)
        {
            int theStopPoint = theStr.IndexOf("//");
            int theStopPoint2 = theStr.IndexOf("#");

            if (theStopPoint != -1)
            {
                theStr = theStr.Substring(0, theStopPoint);
            }
            if (theStopPoint2 != -1 && theStopPoint2 < theStr.Length)
            {
                theStr = theStr.Substring(0, theStopPoint2);
            }

            string theTrimString = theStr;
            if (!string.IsNullOrEmpty(theTrimString))
            {
                string[] theParts = theTrimString.Split(" \t".ToCharArray(), StringSplitOptions.RemoveEmptyEntries);
                if (theParts.Length == 1)
                {
                    theContents[theParts[0].Trim()] = string.Empty;
                }
                if (theParts.Length == 2)
                {
                    theContents[theParts[0].Trim()] = theParts[1].Trim();
                }
            }
        }

        #region system setup
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.Windows.Forms.GroupBox theShamanGroup;
            System.Windows.Forms.Label label26;
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
            System.Windows.Forms.Label label28;
            System.Windows.Forms.Label label27;
            System.Windows.Forms.Label label161;
            System.Windows.Forms.Label label82;
            System.Windows.Forms.Label label110;
            System.Windows.Forms.Label label79;
            System.Windows.Forms.Label label173;
            System.Windows.Forms.Label label174;
            System.Windows.Forms.Label label175;
            System.Windows.Forms.Label label176;
            System.Windows.Forms.Label label109;
            System.Windows.Forms.Label label11;
            System.Windows.Forms.Label label10;
            System.Windows.Forms.Label label9;
            System.Windows.Forms.Label label3;
            System.Windows.Forms.Label label1;
            System.Windows.Forms.Label label2;
            System.Windows.Forms.Label label4;
            System.Windows.Forms.Label label119;
            System.Windows.Forms.Label label15;
            System.Windows.Forms.Label label6;
            System.Windows.Forms.Label label165;
            System.Windows.Forms.Label label12;
            System.Windows.Forms.Label label13;
            System.Windows.Forms.Label label167;
            System.Windows.Forms.Label label14;
            System.Windows.Forms.Label label16;
            System.Windows.Forms.Label label170;
            System.Windows.Forms.Label label152;
            System.Windows.Forms.Label label33;
            System.Windows.Forms.Label label32;
            System.Windows.Forms.Label label31;
            System.Windows.Forms.Label label151;
            System.Windows.Forms.Label label36;
            System.Windows.Forms.Label label37;
            System.Windows.Forms.Label label34;
            System.Windows.Forms.Label label35;
            System.Windows.Forms.Label label38;
            System.Windows.Forms.Label label24;
            System.Windows.Forms.Label label172;
            System.Windows.Forms.Label label25;
            System.Windows.Forms.Label label21;
            System.Windows.Forms.Label label164;
            System.Windows.Forms.Label label61;
            System.Windows.Forms.Label label22;
            System.Windows.Forms.Label label159;
            System.Windows.Forms.Label label158;
            System.Windows.Forms.Label label17;
            System.Windows.Forms.Label label19;
            System.Windows.Forms.Label label20;
            System.Windows.Forms.Label label18;
            System.Windows.Forms.Label label121;
            System.Windows.Forms.Label label120;
            System.Windows.Forms.GroupBox groupBox13;
            System.Windows.Forms.Label label96;
            System.Windows.Forms.Label label95;
            System.Windows.Forms.Label label94;
            System.Windows.Forms.Label label92;
            System.Windows.Forms.Label label91;
            System.Windows.Forms.Label label90;
            System.Windows.Forms.GroupBox groupBox15;
            System.Windows.Forms.Label label84;
            System.Windows.Forms.Label label56;
            System.Windows.Forms.Label label55;
            System.Windows.Forms.Label label29;
            System.Windows.Forms.Label label52;
            System.Windows.Forms.Label label85;
            System.Windows.Forms.Label label98;
            System.Windows.Forms.Label label99;
            System.Windows.Forms.Label label100;
            System.Windows.Forms.Label label157;
            System.Windows.Forms.Label label93;
            System.Windows.Forms.Label label113;
            System.Windows.Forms.Label label54;
            System.Windows.Forms.Label label53;
            System.Windows.Forms.Label label81;
            System.Windows.Forms.Label label101;
            System.Windows.Forms.GroupBox groupBox14;
            System.Windows.Forms.Label label46;
            System.Windows.Forms.Label label44;
            System.Windows.Forms.Label label58;
            System.Windows.Forms.Label label43;
            System.Windows.Forms.Label label57;
            System.Windows.Forms.Label label48;
            System.Windows.Forms.Label label45;
            System.Windows.Forms.Label label47;
            System.Windows.Forms.Label label39;
            System.Windows.Forms.Label label40;
            System.Windows.Forms.Label label49;
            System.Windows.Forms.GroupBox groupBox1;
            System.Windows.Forms.Label label123;
            System.Windows.Forms.Label label112;
            System.Windows.Forms.Label label111;
            System.Windows.Forms.Label label104;
            System.Windows.Forms.Label label103;
            System.Windows.Forms.GroupBox groupBox7;
            System.Windows.Forms.Label label97;
            System.Windows.Forms.Label label51;
            System.Windows.Forms.Label label60;
            System.Windows.Forms.Label label59;
            System.Windows.Forms.GroupBox groupBox10;
            System.Windows.Forms.Label label139;
            System.Windows.Forms.Label label146;
            System.Windows.Forms.Label label144;
            System.Windows.Forms.Label label138;
            System.Windows.Forms.Label label137;
            System.Windows.Forms.Label label136;
            System.Windows.Forms.Label label135;
            System.Windows.Forms.Label label163;
            System.Windows.Forms.Label label141;
            System.Windows.Forms.Label label140;
            System.Windows.Forms.Label label134;
            System.Windows.Forms.Label label106;
            System.Windows.Forms.Label label107;
            System.Windows.Forms.Label label108;
            System.Windows.Forms.Label label74;
            System.Windows.Forms.Label label75;
            System.Windows.Forms.GroupBox groupBox8;
            System.Windows.Forms.Label label64;
            System.Windows.Forms.Label label87;
            System.Windows.Forms.Label label86;
            System.Windows.Forms.Label label155;
            System.Windows.Forms.Label label150;
            System.Windows.Forms.Label label42;
            System.Windows.Forms.Label label5;
            System.Windows.Forms.Label label62;
            System.Windows.Forms.Label label63;
            System.Windows.Forms.Label label65;
            System.Windows.Forms.Label label149;
            System.Windows.Forms.Label label148;
            System.Windows.Forms.Label label66;
            System.Windows.Forms.Label label147;
            System.Windows.Forms.GroupBox groupBox12;
            System.Windows.Forms.GroupBox groupBox19;
            System.Windows.Forms.Label label67;
            System.Windows.Forms.GroupBox groupBox22;
            System.Windows.Forms.Label label117;
            System.Windows.Forms.Label label30;
            System.Windows.Forms.Label label115;
            System.Windows.Forms.Label label114;
            System.Windows.Forms.Label label72;
            System.Windows.Forms.Label label71;
            System.Windows.Forms.Label label70;
            System.Windows.Forms.Label label68;
            System.Windows.Forms.Label label69;
            System.Windows.Forms.Label label153;
            System.Windows.Forms.Label label102;
            System.Windows.Forms.GroupBox groupBox25;
            System.Windows.Forms.Label label89;
            System.Windows.Forms.Label label125;
            System.Windows.Forms.Label label80;
            System.Windows.Forms.GroupBox groupBox27;
            System.Windows.Forms.GroupBox groupBox28;
            System.Windows.Forms.GroupBox groupBox5;
            System.Windows.Forms.Label label116;
            System.Windows.Forms.Label label160;
            System.Windows.Forms.Label label88;
            System.Windows.Forms.Label label78;
            System.Windows.Forms.Label label73;
            System.Windows.Forms.Label label23;
            System.Windows.Forms.Label label41;
            System.Windows.Forms.Label label76;
            System.Windows.Forms.Label label105;
            this.groupBox9 = new System.Windows.Forms.GroupBox();
            this.mSpellCritText = new System.Windows.Forms.TextBox();
            this.mSpellHasteText = new System.Windows.Forms.TextBox();
            this.mSPText = new System.Windows.Forms.TextBox();
            this.mSpellHitText = new System.Windows.Forms.TextBox();
            this.mMaxManaText = new System.Windows.Forms.TextBox();
            this.mMp5Text = new System.Windows.Forms.TextBox();
            this.groupBox4 = new System.Windows.Forms.GroupBox();
            this.mMainHandCritText = new System.Windows.Forms.TextBox();
            this.mMainHandHitText = new System.Windows.Forms.TextBox();
            this.mExpertiseRatingText = new System.Windows.Forms.TextBox();
            this.mAPText = new System.Windows.Forms.TextBox();
            this.mMeleeHasteText = new System.Windows.Forms.TextBox();
            this.groupBox6 = new System.Windows.Forms.GroupBox();
            this.mSpiritText = new System.Windows.Forms.TextBox();
            this.mStrengthText = new System.Windows.Forms.TextBox();
            this.mAgilityText = new System.Windows.Forms.TextBox();
            this.mIntText = new System.Windows.Forms.TextBox();
            this.mMasteryRatingText = new System.Windows.Forms.TextBox();
            this.label1339 = new System.Windows.Forms.Label();
            this.groupBox3 = new System.Windows.Forms.GroupBox();
            this.mMainHandDpsText = new System.Windows.Forms.TextBox();
            this.mMainHandSpeedText = new System.Windows.Forms.TextBox();
            this.mOffHandSpeedText = new System.Windows.Forms.TextBox();
            this.mOffHandDpsText = new System.Windows.Forms.TextBox();
            this.mCopyFromClipboardButton = new System.Windows.Forms.Button();
            this.mRaceCombo = new System.Windows.Forms.ComboBox();
            this.cb_glyph_major3 = new System.Windows.Forms.ComboBox();
            this.cb_glyph_major2 = new System.Windows.Forms.ComboBox();
            this.cb_glyph_major1 = new System.Windows.Forms.ComboBox();
            this.cb_glyph_prime3 = new System.Windows.Forms.ComboBox();
            this.cb_glyph_prime2 = new System.Windows.Forms.ComboBox();
            this.cb_glyph_prime1 = new System.Windows.Forms.ComboBox();
            this.cb_convection = new System.Windows.Forms.ComboBox();
            this.cb_concussion = new System.Windows.Forms.ComboBox();
            this.cb_call_of_flame = new System.Windows.Forms.ComboBox();
            this.cb_reverberation = new System.Windows.Forms.ComboBox();
            this.cb_elemental_precision = new System.Windows.Forms.ComboBox();
            this.cb_elemental_focus = new System.Windows.Forms.ComboBox();
            this.cb_elemental_oath = new System.Windows.Forms.ComboBox();
            this.cb_lava_flows = new System.Windows.Forms.ComboBox();
            this.cb_storm_earth_and_fire = new System.Windows.Forms.ComboBox();
            this.cb_elemental_mastery = new System.Windows.Forms.ComboBox();
            this.cb_feedback = new System.Windows.Forms.ComboBox();
            this.cb_lava_surge = new System.Windows.Forms.ComboBox();
            this.cb_elemental_weapons = new System.Windows.Forms.ComboBox();
            this.cb_focused_strikes = new System.Windows.Forms.ComboBox();
            this.cb_improved_shields = new System.Windows.Forms.ComboBox();
            this.cb_elemental_devastation = new System.Windows.Forms.ComboBox();
            this.cb_flurry = new System.Windows.Forms.ComboBox();
            this.cb_static_shock = new System.Windows.Forms.ComboBox();
            this.label50 = new System.Windows.Forms.Label();
            this.cb_searing_flames = new System.Windows.Forms.ComboBox();
            this.cb_frozen_power = new System.Windows.Forms.ComboBox();
            this.cb_shamanistic_rage = new System.Windows.Forms.ComboBox();
            this.cb_improved_lava_lash = new System.Windows.Forms.ComboBox();
            this.cb_unleashed_rage = new System.Windows.Forms.ComboBox();
            this.cb_maelstrom_weapon = new System.Windows.Forms.ComboBox();
            this.btnDeleteSkillStandard = new System.Windows.Forms.Button();
            this.lbStandardRotationPriority = new System.Windows.Forms.ListBox();
            this.btnStandardRotationDown = new System.Windows.Forms.Button();
            this.btnStandardRotationUp = new System.Windows.Forms.Button();
            this.cb_guardian_elixir = new System.Windows.Forms.ComboBox();
            this.cb_flask_elixir = new System.Windows.Forms.ComboBox();
            this.cb_food = new System.Windows.Forms.ComboBox();
            this.cb_potion = new System.Windows.Forms.ComboBox();
            this.cb_mana_buff = new System.Windows.Forms.CheckBox();
            this.tb_mana_buff = new System.Windows.Forms.TextBox();
            this.cb_mana_regen_buff = new System.Windows.Forms.CheckBox();
            this.tb_mana_regen_buff = new System.Windows.Forms.TextBox();
            this.cb_agi_and_strength_buff = new System.Windows.Forms.CheckBox();
            this.tb_agi_and_strength_buff = new System.Windows.Forms.TextBox();
            this.cb_stat_multiplier = new System.Windows.Forms.CheckBox();
            this.tb_stat_multiplier = new System.Windows.Forms.TextBox();
            this.cb_percentage_damage_increase = new System.Windows.Forms.CheckBox();
            this.tb_percentage_damage_increase = new System.Windows.Forms.TextBox();
            this.cb_spellpower_buff = new System.Windows.Forms.CheckBox();
            this.tb_spellpower_buff = new System.Windows.Forms.TextBox();
            this.cb_spell_haste_buff = new System.Windows.Forms.CheckBox();
            this.tb_spell_haste_buff = new System.Windows.Forms.TextBox();
            this.cb_attack_power_buff_multiplier = new System.Windows.Forms.CheckBox();
            this.tb_attack_power_buff_multiplier = new System.Windows.Forms.TextBox();
            this.cb_crit_chance_buff = new System.Windows.Forms.CheckBox();
            this.tb_crit_chance_buff = new System.Windows.Forms.TextBox();
            this.cb_melee_haste_buff = new System.Windows.Forms.CheckBox();
            this.tb_melee_haste_buff = new System.Windows.Forms.TextBox();
            this.groupBox21 = new System.Windows.Forms.GroupBox();
            this.mReportCountText = new System.Windows.Forms.TextBox();
            this.mMinLagText = new System.Windows.Forms.TextBox();
            this.mOutputText = new System.Windows.Forms.TextBox();
            this.mMaxLagText = new System.Windows.Forms.TextBox();
            this.mSimulateManaCheck = new System.Windows.Forms.CheckBox();
            this.groupBox20 = new System.Windows.Forms.GroupBox();
            this.mSimTimeText = new System.Windows.Forms.TextBox();
            this.mSimTimeCombatLogText = new System.Windows.Forms.TextBox();
            this.mCombatLengthText = new System.Windows.Forms.TextBox();
            this.mCombatVarText = new System.Windows.Forms.TextBox();
            this.mCalcEPValuesButton = new System.Windows.Forms.Button();
            this.mSimulateButton = new System.Windows.Forms.Button();
            this.mInfoListBox = new System.Windows.Forms.ListBox();
            this.mSimLocationText = new System.Windows.Forms.TextBox();
            this.mSimPathBrowseButton = new System.Windows.Forms.Button();
            this.cb_profession_buff = new System.Windows.Forms.ComboBox();
            this.cb_armor_type_bonus = new System.Windows.Forms.CheckBox();
            this.cb_mixology = new System.Windows.Forms.CheckBox();
            this.cb_water_shield = new System.Windows.Forms.CheckBox();
            this.cb_replenishment = new System.Windows.Forms.CheckBox();
            this.nud_cast_searing_only_with_ticks_left = new System.Windows.Forms.NumericUpDown();
            this.nud_cast_magma_only_with_ticks_left = new System.Windows.Forms.NumericUpDown();
            this.nud_cast_fs_only_if_dots_left = new System.Windows.Forms.NumericUpDown();
            this.cb_oh_auto_attack = new System.Windows.Forms.CheckBox();
            this.cb_mh_auto_attack = new System.Windows.Forms.CheckBox();
            this.mCastSRonCooldown = new System.Windows.Forms.CheckBox();
            this.tb_cast_sr_only_if_mana_left = new System.Windows.Forms.TextBox();
            this.tb_use_mana_potion_if_mana_left = new System.Windows.Forms.TextBox();
            this.nud_use_potion_before_combat = new System.Windows.Forms.NumericUpDown();
            this.cb_bloodlust = new System.Windows.Forms.CheckBox();
            this.cb_always_bloodlust_sw = new System.Windows.Forms.CheckBox();
            this.cb_cast_lvb_only_if_fs_active = new System.Windows.Forms.CheckBox();
            this.cb_spell_damage_debuff = new System.Windows.Forms.CheckBox();
            this.tb_spell_damage_debuff = new System.Windows.Forms.TextBox();
            this.cb_spell_crit_chance_debuff = new System.Windows.Forms.CheckBox();
            this.tb_spell_crit_chance_debuff = new System.Windows.Forms.TextBox();
            this.cb_physical_vulnerability_debuff = new System.Windows.Forms.CheckBox();
            this.tb_physical_vulnerability_debuff = new System.Windows.Forms.TextBox();
            this.cb_armor_debuff = new System.Windows.Forms.CheckBox();
            this.tb_armor_debuff = new System.Windows.Forms.TextBox();
            this.label83 = new System.Windows.Forms.Label();
            this.cb_primary_talent = new System.Windows.Forms.ComboBox();
            this.mMainMenu = new System.Windows.Forms.MenuStrip();
            this.mFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.mLoadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.mSaveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.mSaveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
            this.openBossFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.saveBossFileAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator();
            this.mExitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.linksToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.enhSimHomepageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.enhSimWikiToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.enhSimIssueTrackerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
            this.rawrHomepageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.eJForumEnhSimThreadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.mToolTip = new System.Windows.Forms.ToolTip(this.components);
            this.mOpenFileDialog = new System.Windows.Forms.OpenFileDialog();
            this.mSaveFileDialog = new System.Windows.Forms.SaveFileDialog();
            this.openFileDialog2 = new System.Windows.Forms.OpenFileDialog();
            this.mSimPage = new System.Windows.Forms.TabPage();
            this.btnEnhSimHomepage = new System.Windows.Forms.Button();
            this.mReportButton = new System.Windows.Forms.Button();
            this.mSecondaryTabs = new System.Windows.Forms.TabControl();
            this.mBossPage = new System.Windows.Forms.TabPage();
            this.groupBox18 = new System.Windows.Forms.GroupBox();
            this.tb_addTargets = new System.Windows.Forms.TextBox();
            this.textBox1 = new System.Windows.Forms.TextBox();
            this.tb_addTargetsLevel = new System.Windows.Forms.TextBox();
            this.textBox2 = new System.Windows.Forms.TextBox();
            this.tb_addTargetPercent = new System.Windows.Forms.TextBox();
            this.textBox3 = new System.Windows.Forms.TextBox();
            this.textBox5 = new System.Windows.Forms.TextBox();
            this.textBox4 = new System.Windows.Forms.TextBox();
            this.groupBox17 = new System.Windows.Forms.GroupBox();
            this.tb_frost_resistance = new System.Windows.Forms.TextBox();
            this.tb_nature_resistance = new System.Windows.Forms.TextBox();
            this.tb_arcane_resistance = new System.Windows.Forms.TextBox();
            this.tb_shadow_resistance = new System.Windows.Forms.TextBox();
            this.tb_fire_resistance = new System.Windows.Forms.TextBox();
            this.tb_glancing = new System.Windows.Forms.TextBox();
            this.tb_armor = new System.Windows.Forms.TextBox();
            this.tb_dodge = new System.Windows.Forms.TextBox();
            this.tb_spell_miss = new System.Windows.Forms.TextBox();
            this.tb_miss = new System.Windows.Forms.TextBox();
            this.tb_fightName = new System.Windows.Forms.TextBox();
            this.label168 = new System.Windows.Forms.Label();
            this.mProcPage = new System.Windows.Forms.TabPage();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.cb_weapon_set_proc = new System.Windows.Forms.ComboBox();
            this.cb_trinket1 = new System.Windows.Forms.ComboBox();
            this.cb_metagem = new System.Windows.Forms.ComboBox();
            this.cb_ring_proc = new System.Windows.Forms.ComboBox();
            this.cb_trinket2 = new System.Windows.Forms.ComboBox();
            this.cb_cloak_enchant = new System.Windows.Forms.ComboBox();
            this.cb_set_bonus1 = new System.Windows.Forms.ComboBox();
            this.cb_gloves_enchant = new System.Windows.Forms.ComboBox();
            this.cb_set_bonus3 = new System.Windows.Forms.ComboBox();
            this.cb_set_bonus2 = new System.Windows.Forms.ComboBox();
            this.groupBox11 = new System.Windows.Forms.GroupBox();
            this.cb_oh_enchant = new System.Windows.Forms.ComboBox();
            this.cb_oh_imbue = new System.Windows.Forms.ComboBox();
            this.cb_mh_enchant = new System.Windows.Forms.ComboBox();
            this.cb_oh_weapon = new System.Windows.Forms.ComboBox();
            this.cb_mh_imbue = new System.Windows.Forms.ComboBox();
            this.cb_mh_weapon = new System.Windows.Forms.ComboBox();
            this.mTalentPage = new System.Windows.Forms.TabPage();
            this.label77 = new System.Windows.Forms.Label();
            this.mRotationPage = new System.Windows.Forms.TabPage();
            this.mRotationMoveToStandard = new System.Windows.Forms.Button();
            this.mRotationMoveToAoE = new System.Windows.Forms.Button();
            this.lbRotationSkills = new System.Windows.Forms.ListBox();
            this.groupBox16 = new System.Windows.Forms.GroupBox();
            this.btnDeleteSkillAoE = new System.Windows.Forms.Button();
            this.btnAoERotationDown = new System.Windows.Forms.Button();
            this.btnAoERotationUp = new System.Windows.Forms.Button();
            this.lbAoERotationPriority = new System.Windows.Forms.ListBox();
            this.mCombatParameters = new System.Windows.Forms.TabPage();
            this.mBuffPage = new System.Windows.Forms.TabPage();
            this.groupBox26 = new System.Windows.Forms.GroupBox();
            this.mEPPage = new System.Windows.Forms.TabPage();
            this.groupBox24 = new System.Windows.Forms.GroupBox();
            this.nud_ep_precision = new System.Windows.Forms.NumericUpDown();
            this.cb_ep_base_stat = new System.Windows.Forms.ComboBox();
            this.groupBox23 = new System.Windows.Forms.GroupBox();
            this.tb_ep_strength = new System.Windows.Forms.TextBox();
            this.tb_ep_agility = new System.Windows.Forms.TextBox();
            this.tb_ep_int = new System.Windows.Forms.TextBox();
            this.tb_ep_mastery_rating = new System.Windows.Forms.TextBox();
            this.tb_ep_dps = new System.Windows.Forms.TextBox();
            this.tb_ep_haste = new System.Windows.Forms.TextBox();
            this.tb_ep_spellpower = new System.Windows.Forms.TextBox();
            this.tb_ep_mana = new System.Windows.Forms.TextBox();
            this.tb_ep_expertise = new System.Windows.Forms.TextBox();
            this.tb_ep_spirit = new System.Windows.Forms.TextBox();
            this.tb_ep_hit = new System.Windows.Forms.TextBox();
            this.tb_ep_mp5 = new System.Windows.Forms.TextBox();
            this.tb_ep_ap = new System.Windows.Forms.TextBox();
            this.tb_ep_crit = new System.Windows.Forms.TextBox();
            this.panel1 = new System.Windows.Forms.Panel();
            this.label156 = new System.Windows.Forms.Label();
            this.label132 = new System.Windows.Forms.Label();
            this.label131 = new System.Windows.Forms.Label();
            this.label130 = new System.Windows.Forms.Label();
            this.label129 = new System.Windows.Forms.Label();
            this.label128 = new System.Windows.Forms.Label();
            this.label127 = new System.Windows.Forms.Label();
            this.label126 = new System.Windows.Forms.Label();
            this.label124 = new System.Windows.Forms.Label();
            this.label122 = new System.Windows.Forms.Label();
            this.label8 = new System.Windows.Forms.Label();
            this.mMainTabs = new System.Windows.Forms.TabControl();
            this.mSolverPage = new System.Windows.Forms.TabPage();
            this.btnTestDLL = new System.Windows.Forms.Button();
            this.label171 = new System.Windows.Forms.Label();
            this.btnSolvePriorities = new System.Windows.Forms.Button();
            this.mOpenBossFileDialog = new System.Windows.Forms.OpenFileDialog();
            this.mSaveBossFileDialog = new System.Windows.Forms.SaveFileDialog();
            theShamanGroup = new System.Windows.Forms.GroupBox();
            label26 = new System.Windows.Forms.Label();
            label28 = new System.Windows.Forms.Label();
            label27 = new System.Windows.Forms.Label();
            label161 = new System.Windows.Forms.Label();
            label82 = new System.Windows.Forms.Label();
            label110 = new System.Windows.Forms.Label();
            label79 = new System.Windows.Forms.Label();
            label173 = new System.Windows.Forms.Label();
            label174 = new System.Windows.Forms.Label();
            label175 = new System.Windows.Forms.Label();
            label176 = new System.Windows.Forms.Label();
            label109 = new System.Windows.Forms.Label();
            label11 = new System.Windows.Forms.Label();
            label10 = new System.Windows.Forms.Label();
            label9 = new System.Windows.Forms.Label();
            label3 = new System.Windows.Forms.Label();
            label1 = new System.Windows.Forms.Label();
            label2 = new System.Windows.Forms.Label();
            label4 = new System.Windows.Forms.Label();
            label119 = new System.Windows.Forms.Label();
            label15 = new System.Windows.Forms.Label();
            label6 = new System.Windows.Forms.Label();
            label165 = new System.Windows.Forms.Label();
            label12 = new System.Windows.Forms.Label();
            label13 = new System.Windows.Forms.Label();
            label167 = new System.Windows.Forms.Label();
            label14 = new System.Windows.Forms.Label();
            label16 = new System.Windows.Forms.Label();
            label170 = new System.Windows.Forms.Label();
            label152 = new System.Windows.Forms.Label();
            label33 = new System.Windows.Forms.Label();
            label32 = new System.Windows.Forms.Label();
            label31 = new System.Windows.Forms.Label();
            label151 = new System.Windows.Forms.Label();
            label36 = new System.Windows.Forms.Label();
            label37 = new System.Windows.Forms.Label();
            label34 = new System.Windows.Forms.Label();
            label35 = new System.Windows.Forms.Label();
            label38 = new System.Windows.Forms.Label();
            label24 = new System.Windows.Forms.Label();
            label172 = new System.Windows.Forms.Label();
            label25 = new System.Windows.Forms.Label();
            label21 = new System.Windows.Forms.Label();
            label164 = new System.Windows.Forms.Label();
            label61 = new System.Windows.Forms.Label();
            label22 = new System.Windows.Forms.Label();
            label159 = new System.Windows.Forms.Label();
            label158 = new System.Windows.Forms.Label();
            label17 = new System.Windows.Forms.Label();
            label19 = new System.Windows.Forms.Label();
            label20 = new System.Windows.Forms.Label();
            label18 = new System.Windows.Forms.Label();
            label121 = new System.Windows.Forms.Label();
            label120 = new System.Windows.Forms.Label();
            groupBox13 = new System.Windows.Forms.GroupBox();
            label96 = new System.Windows.Forms.Label();
            label95 = new System.Windows.Forms.Label();
            label94 = new System.Windows.Forms.Label();
            label92 = new System.Windows.Forms.Label();
            label91 = new System.Windows.Forms.Label();
            label90 = new System.Windows.Forms.Label();
            groupBox15 = new System.Windows.Forms.GroupBox();
            label84 = new System.Windows.Forms.Label();
            label56 = new System.Windows.Forms.Label();
            label55 = new System.Windows.Forms.Label();
            label29 = new System.Windows.Forms.Label();
            label52 = new System.Windows.Forms.Label();
            label85 = new System.Windows.Forms.Label();
            label98 = new System.Windows.Forms.Label();
            label99 = new System.Windows.Forms.Label();
            label100 = new System.Windows.Forms.Label();
            label157 = new System.Windows.Forms.Label();
            label93 = new System.Windows.Forms.Label();
            label113 = new System.Windows.Forms.Label();
            label54 = new System.Windows.Forms.Label();
            label53 = new System.Windows.Forms.Label();
            label81 = new System.Windows.Forms.Label();
            label101 = new System.Windows.Forms.Label();
            groupBox14 = new System.Windows.Forms.GroupBox();
            label46 = new System.Windows.Forms.Label();
            label44 = new System.Windows.Forms.Label();
            label58 = new System.Windows.Forms.Label();
            label43 = new System.Windows.Forms.Label();
            label57 = new System.Windows.Forms.Label();
            label48 = new System.Windows.Forms.Label();
            label45 = new System.Windows.Forms.Label();
            label47 = new System.Windows.Forms.Label();
            label39 = new System.Windows.Forms.Label();
            label40 = new System.Windows.Forms.Label();
            label49 = new System.Windows.Forms.Label();
            groupBox1 = new System.Windows.Forms.GroupBox();
            label123 = new System.Windows.Forms.Label();
            label112 = new System.Windows.Forms.Label();
            label111 = new System.Windows.Forms.Label();
            label104 = new System.Windows.Forms.Label();
            label103 = new System.Windows.Forms.Label();
            groupBox7 = new System.Windows.Forms.GroupBox();
            label97 = new System.Windows.Forms.Label();
            label51 = new System.Windows.Forms.Label();
            label60 = new System.Windows.Forms.Label();
            label59 = new System.Windows.Forms.Label();
            groupBox10 = new System.Windows.Forms.GroupBox();
            label139 = new System.Windows.Forms.Label();
            label146 = new System.Windows.Forms.Label();
            label144 = new System.Windows.Forms.Label();
            label138 = new System.Windows.Forms.Label();
            label137 = new System.Windows.Forms.Label();
            label136 = new System.Windows.Forms.Label();
            label135 = new System.Windows.Forms.Label();
            label163 = new System.Windows.Forms.Label();
            label141 = new System.Windows.Forms.Label();
            label140 = new System.Windows.Forms.Label();
            label134 = new System.Windows.Forms.Label();
            label106 = new System.Windows.Forms.Label();
            label107 = new System.Windows.Forms.Label();
            label108 = new System.Windows.Forms.Label();
            label74 = new System.Windows.Forms.Label();
            label75 = new System.Windows.Forms.Label();
            groupBox8 = new System.Windows.Forms.GroupBox();
            label64 = new System.Windows.Forms.Label();
            label87 = new System.Windows.Forms.Label();
            label86 = new System.Windows.Forms.Label();
            label155 = new System.Windows.Forms.Label();
            label150 = new System.Windows.Forms.Label();
            label42 = new System.Windows.Forms.Label();
            label5 = new System.Windows.Forms.Label();
            label62 = new System.Windows.Forms.Label();
            label63 = new System.Windows.Forms.Label();
            label65 = new System.Windows.Forms.Label();
            label149 = new System.Windows.Forms.Label();
            label148 = new System.Windows.Forms.Label();
            label66 = new System.Windows.Forms.Label();
            label147 = new System.Windows.Forms.Label();
            groupBox12 = new System.Windows.Forms.GroupBox();
            groupBox19 = new System.Windows.Forms.GroupBox();
            label67 = new System.Windows.Forms.Label();
            groupBox22 = new System.Windows.Forms.GroupBox();
            label117 = new System.Windows.Forms.Label();
            label30 = new System.Windows.Forms.Label();
            label115 = new System.Windows.Forms.Label();
            label114 = new System.Windows.Forms.Label();
            label72 = new System.Windows.Forms.Label();
            label71 = new System.Windows.Forms.Label();
            label70 = new System.Windows.Forms.Label();
            label68 = new System.Windows.Forms.Label();
            label69 = new System.Windows.Forms.Label();
            label153 = new System.Windows.Forms.Label();
            label102 = new System.Windows.Forms.Label();
            groupBox25 = new System.Windows.Forms.GroupBox();
            label89 = new System.Windows.Forms.Label();
            label125 = new System.Windows.Forms.Label();
            label80 = new System.Windows.Forms.Label();
            groupBox27 = new System.Windows.Forms.GroupBox();
            groupBox28 = new System.Windows.Forms.GroupBox();
            groupBox5 = new System.Windows.Forms.GroupBox();
            label116 = new System.Windows.Forms.Label();
            label160 = new System.Windows.Forms.Label();
            label88 = new System.Windows.Forms.Label();
            label78 = new System.Windows.Forms.Label();
            label73 = new System.Windows.Forms.Label();
            label23 = new System.Windows.Forms.Label();
            label41 = new System.Windows.Forms.Label();
            label76 = new System.Windows.Forms.Label();
            label105 = new System.Windows.Forms.Label();
            theShamanGroup.SuspendLayout();
            this.groupBox9.SuspendLayout();
            this.groupBox4.SuspendLayout();
            this.groupBox6.SuspendLayout();
            this.groupBox3.SuspendLayout();
            groupBox13.SuspendLayout();
            groupBox15.SuspendLayout();
            groupBox14.SuspendLayout();
            groupBox1.SuspendLayout();
            groupBox7.SuspendLayout();
            groupBox10.SuspendLayout();
            groupBox8.SuspendLayout();
            this.groupBox21.SuspendLayout();
            this.groupBox20.SuspendLayout();
            groupBox12.SuspendLayout();
            groupBox19.SuspendLayout();
            groupBox22.SuspendLayout();
            groupBox25.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.nud_cast_searing_only_with_ticks_left)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.nud_cast_magma_only_with_ticks_left)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.nud_cast_fs_only_if_dots_left)).BeginInit();
            groupBox27.SuspendLayout();
            groupBox28.SuspendLayout();
            groupBox5.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.nud_use_potion_before_combat)).BeginInit();
            this.mMainMenu.SuspendLayout();
            this.mSimPage.SuspendLayout();
            this.mSecondaryTabs.SuspendLayout();
            this.mBossPage.SuspendLayout();
            this.groupBox18.SuspendLayout();
            this.groupBox17.SuspendLayout();
            this.mProcPage.SuspendLayout();
            this.groupBox2.SuspendLayout();
            this.groupBox11.SuspendLayout();
            this.mTalentPage.SuspendLayout();
            this.mRotationPage.SuspendLayout();
            this.groupBox16.SuspendLayout();
            this.mCombatParameters.SuspendLayout();
            this.mBuffPage.SuspendLayout();
            this.groupBox26.SuspendLayout();
            this.mEPPage.SuspendLayout();
            this.groupBox24.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.nud_ep_precision)).BeginInit();
            this.groupBox23.SuspendLayout();
            this.panel1.SuspendLayout();
            this.mMainTabs.SuspendLayout();
            this.mSolverPage.SuspendLayout();
            this.SuspendLayout();
            // 
            // theShamanGroup
            // 
            theShamanGroup.BackColor = System.Drawing.SystemColors.Control;
            theShamanGroup.Controls.Add(this.groupBox9);
            theShamanGroup.Controls.Add(this.groupBox4);
            theShamanGroup.Controls.Add(this.groupBox6);
            theShamanGroup.Controls.Add(this.groupBox3);
            theShamanGroup.Controls.Add(this.mCopyFromClipboardButton);
            theShamanGroup.Controls.Add(this.mRaceCombo);
            theShamanGroup.Controls.Add(label119);
            theShamanGroup.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            theShamanGroup.Location = new System.Drawing.Point(7, 7);
            theShamanGroup.Name = "theShamanGroup";
            theShamanGroup.Size = new System.Drawing.Size(180, 639);
            theShamanGroup.TabIndex = 1;
            theShamanGroup.TabStop = false;
            theShamanGroup.Text = "Character Info";
            // 
            // groupBox9
            // 
            this.groupBox9.BackColor = System.Drawing.SystemColors.Control;
            this.groupBox9.Controls.Add(label26);
            this.groupBox9.Controls.Add(label28);
            this.groupBox9.Controls.Add(this.mSpellCritText);
            this.groupBox9.Controls.Add(this.mSpellHasteText);
            this.groupBox9.Controls.Add(this.mSPText);
            this.groupBox9.Controls.Add(label27);
            this.groupBox9.Controls.Add(label161);
            this.groupBox9.Controls.Add(this.mSpellHitText);
            this.groupBox9.Controls.Add(this.mMaxManaText);
            this.groupBox9.Controls.Add(label82);
            this.groupBox9.Controls.Add(this.mMp5Text);
            this.groupBox9.Controls.Add(label110);
            this.groupBox9.Font = new System.Drawing.Font("Arial", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.groupBox9.Location = new System.Drawing.Point(12, 476);
            this.groupBox9.Name = "groupBox9";
            this.groupBox9.Size = new System.Drawing.Size(156, 151);
            this.groupBox9.TabIndex = 15;
            this.groupBox9.TabStop = false;
            this.groupBox9.Text = "Spell";
            // 
            // label26
            // 
            label26.AutoSize = true;
            label26.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label26.Location = new System.Drawing.Point(6, 65);
            label26.Name = "label26";
            label26.Size = new System.Drawing.Size(66, 14);
            label26.TabIndex = 55;
            label26.Text = "Spell Hit (%)";
            this.mToolTip.SetToolTip(label26, resources.GetString("label26.ToolTip"));
            // 
            // label28
            // 
            label28.AutoSize = true;
            label28.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label28.Location = new System.Drawing.Point(6, 25);
            label28.Name = "label28";
            label28.Size = new System.Drawing.Size(65, 14);
            label28.TabIndex = 51;
            label28.Text = "Spell Power";
            this.mToolTip.SetToolTip(label28, resources.GetString("label28.ToolTip"));
            // 
            // mSpellCritText
            // 
            this.mSpellCritText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mSpellCritText.Location = new System.Drawing.Point(107, 42);
            this.mSpellCritText.Name = "mSpellCritText";
            this.mSpellCritText.Size = new System.Drawing.Size(38, 20);
            this.mSpellCritText.TabIndex = 21;
            this.mSpellCritText.Text = "0";
            // 
            // mSpellHasteText
            // 
            this.mSpellHasteText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mSpellHasteText.Location = new System.Drawing.Point(107, 82);
            this.mSpellHasteText.Name = "mSpellHasteText";
            this.mSpellHasteText.Size = new System.Drawing.Size(38, 20);
            this.mSpellHasteText.TabIndex = 23;
            this.mSpellHasteText.Text = "0";
            // 
            // mSPText
            // 
            this.mSPText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mSPText.Location = new System.Drawing.Point(107, 22);
            this.mSPText.Name = "mSPText";
            this.mSPText.Size = new System.Drawing.Size(38, 20);
            this.mSPText.TabIndex = 20;
            this.mSPText.Text = "0";
            // 
            // label27
            // 
            label27.AutoSize = true;
            label27.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label27.Location = new System.Drawing.Point(6, 45);
            label27.Name = "label27";
            label27.Size = new System.Drawing.Size(70, 14);
            label27.TabIndex = 53;
            label27.Text = "Spell Crit (%)";
            this.mToolTip.SetToolTip(label27, resources.GetString("label27.ToolTip"));
            // 
            // label161
            // 
            label161.AutoSize = true;
            label161.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label161.Location = new System.Drawing.Point(6, 85);
            label161.Name = "label161";
            label161.Size = new System.Drawing.Size(82, 14);
            label161.TabIndex = 114;
            label161.Text = "Spell Haste (%)";
            this.mToolTip.SetToolTip(label161, resources.GetString("label161.ToolTip"));
            // 
            // mSpellHitText
            // 
            this.mSpellHitText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mSpellHitText.Location = new System.Drawing.Point(107, 62);
            this.mSpellHitText.Name = "mSpellHitText";
            this.mSpellHitText.Size = new System.Drawing.Size(38, 20);
            this.mSpellHitText.TabIndex = 22;
            this.mSpellHitText.Text = "0";
            this.mSpellHitText.TextChanged += new System.EventHandler(this.tb_spell_hit_TextChanged);
            // 
            // mMaxManaText
            // 
            this.mMaxManaText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mMaxManaText.Location = new System.Drawing.Point(107, 102);
            this.mMaxManaText.Name = "mMaxManaText";
            this.mMaxManaText.Size = new System.Drawing.Size(38, 20);
            this.mMaxManaText.TabIndex = 24;
            this.mMaxManaText.Text = "6000";
            // 
            // label82
            // 
            label82.AutoSize = true;
            label82.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label82.Location = new System.Drawing.Point(6, 105);
            label82.Name = "label82";
            label82.Size = new System.Drawing.Size(33, 14);
            label82.TabIndex = 57;
            label82.Text = "Mana";
            this.mToolTip.SetToolTip(label82, "This is your mana stat without any buffs.  This can be\r\nfound from the in-game ch" +
        "aracter information in the \r\nGeneral section.  An example of how it will look is" +
        ": \r\n\"Mana:                6291\"\r\n");
            // 
            // mMp5Text
            // 
            this.mMp5Text.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mMp5Text.Location = new System.Drawing.Point(107, 122);
            this.mMp5Text.Name = "mMp5Text";
            this.mMp5Text.Size = new System.Drawing.Size(38, 20);
            this.mMp5Text.TabIndex = 25;
            this.mMp5Text.Text = "0";
            // 
            // label110
            // 
            label110.AutoSize = true;
            label110.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label110.Location = new System.Drawing.Point(6, 125);
            label110.Name = "label110";
            label110.Size = new System.Drawing.Size(77, 14);
            label110.TabIndex = 61;
            label110.Text = "Combat Regen";
            this.mToolTip.SetToolTip(label110, resources.GetString("label110.ToolTip"));
            // 
            // groupBox4
            // 
            this.groupBox4.BackColor = System.Drawing.SystemColors.Control;
            this.groupBox4.Controls.Add(this.mMainHandCritText);
            this.groupBox4.Controls.Add(label79);
            this.groupBox4.Controls.Add(this.mMainHandHitText);
            this.groupBox4.Controls.Add(label173);
            this.groupBox4.Controls.Add(this.mExpertiseRatingText);
            this.groupBox4.Controls.Add(label174);
            this.groupBox4.Controls.Add(this.mAPText);
            this.groupBox4.Controls.Add(label175);
            this.groupBox4.Controls.Add(this.mMeleeHasteText);
            this.groupBox4.Controls.Add(label176);
            this.groupBox4.Font = new System.Drawing.Font("Arial", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.groupBox4.Location = new System.Drawing.Point(12, 337);
            this.groupBox4.Name = "groupBox4";
            this.groupBox4.Size = new System.Drawing.Size(156, 133);
            this.groupBox4.TabIndex = 14;
            this.groupBox4.TabStop = false;
            this.groupBox4.Text = "Melee";
            // 
            // mMainHandCritText
            // 
            this.mMainHandCritText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mMainHandCritText.Location = new System.Drawing.Point(107, 22);
            this.mMainHandCritText.Name = "mMainHandCritText";
            this.mMainHandCritText.Size = new System.Drawing.Size(38, 20);
            this.mMainHandCritText.TabIndex = 20;
            this.mMainHandCritText.Text = "0";
            // 
            // label79
            // 
            label79.AutoSize = true;
            label79.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label79.Location = new System.Drawing.Point(6, 25);
            label79.Name = "label79";
            label79.Size = new System.Drawing.Size(75, 14);
            label79.TabIndex = 27;
            label79.Text = "Melee Crit (%)";
            this.mToolTip.SetToolTip(label79, resources.GetString("label79.ToolTip"));
            // 
            // mMainHandHitText
            // 
            this.mMainHandHitText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mMainHandHitText.Location = new System.Drawing.Point(107, 42);
            this.mMainHandHitText.Name = "mMainHandHitText";
            this.mMainHandHitText.Size = new System.Drawing.Size(38, 20);
            this.mMainHandHitText.TabIndex = 21;
            this.mMainHandHitText.Text = "0";
            this.mMainHandHitText.TextChanged += new System.EventHandler(this.tb_mh_hit_TextChanged);
            // 
            // label173
            // 
            label173.AutoSize = true;
            label173.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label173.Location = new System.Drawing.Point(6, 45);
            label173.Name = "label173";
            label173.Size = new System.Drawing.Size(71, 14);
            label173.TabIndex = 29;
            label173.Text = "Melee Hit (%)";
            this.mToolTip.SetToolTip(label173, resources.GetString("label173.ToolTip"));
            // 
            // mExpertiseRatingText
            // 
            this.mExpertiseRatingText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mExpertiseRatingText.Location = new System.Drawing.Point(107, 63);
            this.mExpertiseRatingText.Name = "mExpertiseRatingText";
            this.mExpertiseRatingText.Size = new System.Drawing.Size(38, 20);
            this.mExpertiseRatingText.TabIndex = 22;
            this.mExpertiseRatingText.Text = "0";
            this.mExpertiseRatingText.TextChanged += new System.EventHandler(this.tb_expertise_rating_TextChanged);
            // 
            // label174
            // 
            label174.AutoSize = true;
            label174.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label174.Location = new System.Drawing.Point(6, 66);
            label174.Name = "label174";
            label174.Size = new System.Drawing.Size(85, 14);
            label174.TabIndex = 31;
            label174.Text = "Expertise Rating";
            this.mToolTip.SetToolTip(label174, resources.GetString("label174.ToolTip"));
            // 
            // mAPText
            // 
            this.mAPText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mAPText.Location = new System.Drawing.Point(107, 85);
            this.mAPText.Name = "mAPText";
            this.mAPText.Size = new System.Drawing.Size(38, 20);
            this.mAPText.TabIndex = 23;
            this.mAPText.Text = "0";
            // 
            // label175
            // 
            label175.AutoSize = true;
            label175.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label175.Location = new System.Drawing.Point(6, 88);
            label175.Name = "label175";
            label175.Size = new System.Drawing.Size(73, 14);
            label175.TabIndex = 33;
            label175.Text = "Attack Power";
            this.mToolTip.SetToolTip(label175, resources.GetString("label175.ToolTip"));
            // 
            // mMeleeHasteText
            // 
            this.mMeleeHasteText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mMeleeHasteText.Location = new System.Drawing.Point(107, 105);
            this.mMeleeHasteText.Name = "mMeleeHasteText";
            this.mMeleeHasteText.Size = new System.Drawing.Size(38, 20);
            this.mMeleeHasteText.TabIndex = 24;
            this.mMeleeHasteText.Text = "0";
            // 
            // label176
            // 
            label176.AutoSize = true;
            label176.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label176.Location = new System.Drawing.Point(6, 108);
            label176.Name = "label176";
            label176.Size = new System.Drawing.Size(87, 14);
            label176.TabIndex = 35;
            label176.Text = "Melee Haste (%)";
            this.mToolTip.SetToolTip(label176, resources.GetString("label176.ToolTip"));
            // 
            // groupBox6
            // 
            this.groupBox6.BackColor = System.Drawing.SystemColors.Control;
            this.groupBox6.Controls.Add(this.mSpiritText);
            this.groupBox6.Controls.Add(label109);
            this.groupBox6.Controls.Add(this.mStrengthText);
            this.groupBox6.Controls.Add(label11);
            this.groupBox6.Controls.Add(this.mAgilityText);
            this.groupBox6.Controls.Add(label10);
            this.groupBox6.Controls.Add(this.mIntText);
            this.groupBox6.Controls.Add(label9);
            this.groupBox6.Controls.Add(this.mMasteryRatingText);
            this.groupBox6.Controls.Add(this.label1339);
            this.groupBox6.Font = new System.Drawing.Font("Arial", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.groupBox6.Location = new System.Drawing.Point(12, 203);
            this.groupBox6.Name = "groupBox6";
            this.groupBox6.Size = new System.Drawing.Size(156, 130);
            this.groupBox6.TabIndex = 13;
            this.groupBox6.TabStop = false;
            this.groupBox6.Text = "Base Stats";
            // 
            // mSpiritText
            // 
            this.mSpiritText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mSpiritText.Location = new System.Drawing.Point(107, 82);
            this.mSpiritText.Name = "mSpiritText";
            this.mSpiritText.Size = new System.Drawing.Size(38, 20);
            this.mSpiritText.TabIndex = 23;
            this.mSpiritText.Text = "0";
            this.mSpiritText.TextChanged += new System.EventHandler(this.tb_spirit_TextChanged);
            // 
            // label109
            // 
            label109.AutoSize = true;
            label109.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label109.Location = new System.Drawing.Point(6, 85);
            label109.Name = "label109";
            label109.Size = new System.Drawing.Size(31, 14);
            label109.TabIndex = 67;
            label109.Text = "Spirit";
            this.mToolTip.SetToolTip(label109, "This is your spirit stat without any buffs.  This can be\r\nfound from the in-game " +
        "character information in the \r\nAttributes section.  An example of how it will lo" +
        "ok is: \r\n\"Spirit:                145\"");
            // 
            // mStrengthText
            // 
            this.mStrengthText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mStrengthText.Location = new System.Drawing.Point(107, 22);
            this.mStrengthText.Name = "mStrengthText";
            this.mStrengthText.Size = new System.Drawing.Size(38, 20);
            this.mStrengthText.TabIndex = 20;
            this.mStrengthText.Text = "0";
            // 
            // label11
            // 
            label11.AutoSize = true;
            label11.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label11.Location = new System.Drawing.Point(6, 25);
            label11.Name = "label11";
            label11.Size = new System.Drawing.Size(48, 14);
            label11.TabIndex = 61;
            label11.Text = "Strength";
            this.mToolTip.SetToolTip(label11, resources.GetString("label11.ToolTip"));
            // 
            // mAgilityText
            // 
            this.mAgilityText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mAgilityText.Location = new System.Drawing.Point(107, 42);
            this.mAgilityText.Name = "mAgilityText";
            this.mAgilityText.Size = new System.Drawing.Size(38, 20);
            this.mAgilityText.TabIndex = 21;
            this.mAgilityText.Text = "0";
            // 
            // label10
            // 
            label10.AutoSize = true;
            label10.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label10.Location = new System.Drawing.Point(6, 45);
            label10.Name = "label10";
            label10.Size = new System.Drawing.Size(36, 14);
            label10.TabIndex = 63;
            label10.Text = "Agility";
            this.mToolTip.SetToolTip(label10, resources.GetString("label10.ToolTip"));
            // 
            // mIntText
            // 
            this.mIntText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mIntText.Location = new System.Drawing.Point(107, 62);
            this.mIntText.Name = "mIntText";
            this.mIntText.Size = new System.Drawing.Size(38, 20);
            this.mIntText.TabIndex = 22;
            this.mIntText.Text = "0";
            // 
            // label9
            // 
            label9.AutoSize = true;
            label9.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label9.Location = new System.Drawing.Point(6, 65);
            label9.Name = "label9";
            label9.Size = new System.Drawing.Size(43, 14);
            label9.TabIndex = 65;
            label9.Text = "Intellect";
            this.mToolTip.SetToolTip(label9, resources.GetString("label9.ToolTip"));
            // 
            // mMasteryRatingText
            // 
            this.mMasteryRatingText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mMasteryRatingText.Location = new System.Drawing.Point(107, 102);
            this.mMasteryRatingText.Name = "mMasteryRatingText";
            this.mMasteryRatingText.Size = new System.Drawing.Size(38, 20);
            this.mMasteryRatingText.TabIndex = 24;
            this.mMasteryRatingText.Text = "0";
            // 
            // label1339
            // 
            this.label1339.AutoSize = true;
            this.label1339.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label1339.Location = new System.Drawing.Point(6, 105);
            this.label1339.Name = "label1339";
            this.label1339.Size = new System.Drawing.Size(79, 14);
            this.label1339.TabIndex = 132;
            this.label1339.Text = "Mastery Rating";
            this.mToolTip.SetToolTip(this.label1339, resources.GetString("label1339.ToolTip"));
            // 
            // groupBox3
            // 
            this.groupBox3.BackColor = System.Drawing.SystemColors.Control;
            this.groupBox3.Controls.Add(this.mMainHandDpsText);
            this.groupBox3.Controls.Add(label3);
            this.groupBox3.Controls.Add(label1);
            this.groupBox3.Controls.Add(this.mMainHandSpeedText);
            this.groupBox3.Controls.Add(this.mOffHandSpeedText);
            this.groupBox3.Controls.Add(label2);
            this.groupBox3.Controls.Add(this.mOffHandDpsText);
            this.groupBox3.Controls.Add(label4);
            this.groupBox3.Font = new System.Drawing.Font("Arial", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.groupBox3.Location = new System.Drawing.Point(12, 90);
            this.groupBox3.Name = "groupBox3";
            this.groupBox3.Size = new System.Drawing.Size(156, 110);
            this.groupBox3.TabIndex = 12;
            this.groupBox3.TabStop = false;
            this.groupBox3.Text = "Weapon";
            // 
            // mMainHandDpsText
            // 
            this.mMainHandDpsText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mMainHandDpsText.Location = new System.Drawing.Point(107, 62);
            this.mMainHandDpsText.Name = "mMainHandDpsText";
            this.mMainHandDpsText.Size = new System.Drawing.Size(38, 20);
            this.mMainHandDpsText.TabIndex = 22;
            this.mMainHandDpsText.Text = "0";
            // 
            // label3
            // 
            label3.AutoSize = true;
            label3.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label3.Location = new System.Drawing.Point(6, 65);
            label3.Name = "label3";
            label3.Size = new System.Drawing.Size(80, 14);
            label3.TabIndex = 125;
            label3.Text = "Main Hand DPS";
            this.mToolTip.SetToolTip(label3, "This is the base dps for your main hand weapon.  This\r\ncan be found from the in-g" +
        "ame tooltip for your weapon.\r\nAn example of how it will look is: \"250.6 damage p" +
        "er second\"");
            // 
            // label1
            // 
            label1.AutoSize = true;
            label1.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label1.Location = new System.Drawing.Point(6, 25);
            label1.Name = "label1";
            label1.Size = new System.Drawing.Size(91, 14);
            label1.TabIndex = 9;
            label1.Text = "Main Hand Speed";
            this.mToolTip.SetToolTip(label1, "This is the speed of your main hand weapon, which can be found\r\nthe in-game toolt" +
        "ip of your weapon.  An example of how it will\r\nlook is: \"Speed 2.60\"");
            // 
            // mMainHandSpeedText
            // 
            this.mMainHandSpeedText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mMainHandSpeedText.Location = new System.Drawing.Point(107, 22);
            this.mMainHandSpeedText.Name = "mMainHandSpeedText";
            this.mMainHandSpeedText.Size = new System.Drawing.Size(38, 20);
            this.mMainHandSpeedText.TabIndex = 20;
            this.mMainHandSpeedText.Text = "1.0";
            // 
            // mOffHandSpeedText
            // 
            this.mOffHandSpeedText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mOffHandSpeedText.Location = new System.Drawing.Point(107, 42);
            this.mOffHandSpeedText.Name = "mOffHandSpeedText";
            this.mOffHandSpeedText.Size = new System.Drawing.Size(38, 20);
            this.mOffHandSpeedText.TabIndex = 21;
            this.mOffHandSpeedText.Text = "1.0";
            // 
            // label2
            // 
            label2.AutoSize = true;
            label2.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label2.Location = new System.Drawing.Point(6, 45);
            label2.Name = "label2";
            label2.Size = new System.Drawing.Size(86, 14);
            label2.TabIndex = 11;
            label2.Text = "Off-Hand Speed";
            this.mToolTip.SetToolTip(label2, "This is the speed of your off-hand weapon, which can be found\r\nthe in-game toolti" +
        "p of your weapon.  An example of how it will\r\nlook is: \"Speed 2.60\"");
            // 
            // mOffHandDpsText
            // 
            this.mOffHandDpsText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mOffHandDpsText.Location = new System.Drawing.Point(107, 82);
            this.mOffHandDpsText.Name = "mOffHandDpsText";
            this.mOffHandDpsText.Size = new System.Drawing.Size(38, 20);
            this.mOffHandDpsText.TabIndex = 23;
            this.mOffHandDpsText.Text = "0";
            // 
            // label4
            // 
            label4.AutoSize = true;
            label4.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label4.Location = new System.Drawing.Point(6, 85);
            label4.Name = "label4";
            label4.Size = new System.Drawing.Size(75, 14);
            label4.TabIndex = 15;
            label4.Text = "Off-Hand DPS";
            this.mToolTip.SetToolTip(label4, "This is the base dps for your off hand weapon.  This\r\ncan be found from the in-ga" +
        "me tooltip for your weapon.\r\nAn example of how it will look is: \"250.6 damage pe" +
        "r second\"");
            // 
            // mCopyFromClipboardButton
            // 
            this.mCopyFromClipboardButton.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mCopyFromClipboardButton.Location = new System.Drawing.Point(26, 23);
            this.mCopyFromClipboardButton.Name = "mCopyFromClipboardButton";
            this.mCopyFromClipboardButton.Size = new System.Drawing.Size(124, 30);
            this.mCopyFromClipboardButton.TabIndex = 10;
            this.mCopyFromClipboardButton.Text = "Copy from Clipboard";
            this.mCopyFromClipboardButton.UseVisualStyleBackColor = true;
            this.mCopyFromClipboardButton.Click += new System.EventHandler(this.mCopyFromClipboardButton_Click);
            // 
            // mRaceCombo
            // 
            this.mRaceCombo.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mRaceCombo.FormattingEnabled = true;
            this.mRaceCombo.Items.AddRange(new object[] {
            "Draenei",
            "Dwarf",
            "Goblin",
            "Orc",
            "Tauren",
            "Troll"});
            this.mRaceCombo.Location = new System.Drawing.Point(104, 62);
            this.mRaceCombo.Name = "mRaceCombo";
            this.mRaceCombo.Size = new System.Drawing.Size(64, 22);
            this.mRaceCombo.TabIndex = 11;
            this.mRaceCombo.Text = "        -";
            this.mRaceCombo.SelectedIndexChanged += new System.EventHandler(this.cb_race_SelectedIndexChanged);
            // 
            // label119
            // 
            label119.AutoSize = true;
            label119.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label119.Location = new System.Drawing.Point(18, 64);
            label119.Name = "label119";
            label119.Size = new System.Drawing.Size(36, 15);
            label119.TabIndex = 63;
            label119.Text = "Race";
            // 
            // label15
            // 
            label15.AutoSize = true;
            label15.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label15.Location = new System.Drawing.Point(7, 65);
            label15.Name = "label15";
            label15.Size = new System.Drawing.Size(49, 14);
            label15.TabIndex = 132;
            label15.Text = "Mixology";
            // 
            // label6
            // 
            label6.AutoSize = true;
            label6.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label6.Location = new System.Drawing.Point(6, 193);
            label6.Name = "label6";
            label6.Size = new System.Drawing.Size(100, 14);
            label6.TabIndex = 112;
            label6.Text = "Arcane Resistance";
            // 
            // label165
            // 
            label165.AutoSize = true;
            label165.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label165.Location = new System.Drawing.Point(6, 25);
            label165.Name = "label165";
            label165.Size = new System.Drawing.Size(86, 14);
            label165.TabIndex = 96;
            label165.Text = "Number of mobs";
            // 
            // label12
            // 
            label12.AutoSize = true;
            label12.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label12.Location = new System.Drawing.Point(6, 133);
            label12.Name = "label12";
            label12.Size = new System.Drawing.Size(96, 14);
            label12.TabIndex = 106;
            label12.Text = "Nature Resistance";
            // 
            // label13
            // 
            label13.AutoSize = true;
            label13.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label13.Location = new System.Drawing.Point(6, 153);
            label13.Name = "label13";
            label13.Size = new System.Drawing.Size(82, 14);
            label13.TabIndex = 108;
            label13.Text = "Fire Resistance";
            // 
            // label167
            // 
            label167.AutoSize = true;
            label167.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label167.Location = new System.Drawing.Point(6, 45);
            label167.Name = "label167";
            label167.Size = new System.Drawing.Size(92, 14);
            label167.TabIndex = 98;
            label167.Text = "Time in range (%)";
            // 
            // label14
            // 
            label14.AutoSize = true;
            label14.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label14.Location = new System.Drawing.Point(6, 173);
            label14.Name = "label14";
            label14.Size = new System.Drawing.Size(89, 14);
            label14.TabIndex = 110;
            label14.Text = "Frost Resistance";
            // 
            // label16
            // 
            label16.AutoSize = true;
            label16.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label16.Location = new System.Drawing.Point(6, 213);
            label16.Name = "label16";
            label16.Size = new System.Drawing.Size(105, 14);
            label16.TabIndex = 114;
            label16.Text = "Shadow Resistance";
            // 
            // label170
            // 
            label170.AutoSize = true;
            label170.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label170.Location = new System.Drawing.Point(6, 65);
            label170.Name = "label170";
            label170.Size = new System.Drawing.Size(56, 14);
            label170.TabIndex = 127;
            label170.Text = "Mob Level";
            // 
            // label152
            // 
            label152.AutoSize = true;
            label152.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label152.Location = new System.Drawing.Point(7, 191);
            label152.Name = "label152";
            label152.Size = new System.Drawing.Size(100, 14);
            label152.TabIndex = 102;
            label152.Text = "Arcane Resistance";
            // 
            // label33
            // 
            label33.AutoSize = true;
            label33.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label33.Location = new System.Drawing.Point(7, 131);
            label33.Name = "label33";
            label33.Size = new System.Drawing.Size(96, 14);
            label33.TabIndex = 96;
            label33.Text = "Nature Resistance";
            // 
            // label32
            // 
            label32.AutoSize = true;
            label32.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label32.Location = new System.Drawing.Point(7, 151);
            label32.Name = "label32";
            label32.Size = new System.Drawing.Size(82, 14);
            label32.TabIndex = 98;
            label32.Text = "Fire Resistance";
            // 
            // label31
            // 
            label31.AutoSize = true;
            label31.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label31.Location = new System.Drawing.Point(7, 171);
            label31.Name = "label31";
            label31.Size = new System.Drawing.Size(89, 14);
            label31.TabIndex = 100;
            label31.Text = "Frost Resistance";
            // 
            // label151
            // 
            label151.AutoSize = true;
            label151.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label151.Location = new System.Drawing.Point(7, 211);
            label151.Name = "label151";
            label151.Size = new System.Drawing.Size(105, 14);
            label151.TabIndex = 104;
            label151.Text = "Shadow Resistance";
            // 
            // label36
            // 
            label36.AutoSize = true;
            label36.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label36.Location = new System.Drawing.Point(6, 65);
            label36.Name = "label36";
            label36.Size = new System.Drawing.Size(70, 14);
            label36.TabIndex = 76;
            label36.Text = "Glancing (%)";
            // 
            // label37
            // 
            label37.AutoSize = true;
            label37.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label37.Location = new System.Drawing.Point(6, 45);
            label37.Name = "label37";
            label37.Size = new System.Drawing.Size(59, 14);
            label37.TabIndex = 74;
            label37.Text = "Dodge (%)";
            // 
            // label34
            // 
            label34.AutoSize = true;
            label34.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label34.Location = new System.Drawing.Point(6, 105);
            label34.Name = "label34";
            label34.Size = new System.Drawing.Size(76, 14);
            label34.TabIndex = 80;
            label34.Text = "Spell Miss (%)";
            // 
            // label35
            // 
            label35.AutoSize = true;
            label35.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label35.Location = new System.Drawing.Point(7, 85);
            label35.Name = "label35";
            label35.Size = new System.Drawing.Size(37, 14);
            label35.TabIndex = 78;
            label35.Text = "Armor";
            // 
            // label38
            // 
            label38.AutoSize = true;
            label38.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label38.Location = new System.Drawing.Point(6, 25);
            label38.Name = "label38";
            label38.Size = new System.Drawing.Size(50, 14);
            label38.TabIndex = 72;
            label38.Text = "Miss (%)";
            // 
            // label24
            // 
            label24.AutoSize = true;
            label24.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label24.Location = new System.Drawing.Point(7, 67);
            label24.Name = "label24";
            label24.Size = new System.Drawing.Size(66, 14);
            label24.TabIndex = 47;
            label24.Text = "Set Bonus 1";
            // 
            // label172
            // 
            label172.AutoSize = true;
            label172.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label172.Location = new System.Drawing.Point(7, 199);
            label172.Name = "label172";
            label172.Size = new System.Drawing.Size(53, 14);
            label172.TabIndex = 116;
            label172.Text = "Ring Proc";
            // 
            // label25
            // 
            label25.AutoSize = true;
            label25.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label25.Location = new System.Drawing.Point(7, 133);
            label25.Name = "label25";
            label25.Size = new System.Drawing.Size(55, 14);
            label25.TabIndex = 49;
            label25.Text = "Meta Gem";
            // 
            // label21
            // 
            label21.AutoSize = true;
            label21.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label21.Location = new System.Drawing.Point(7, 23);
            label21.Name = "label21";
            label21.Size = new System.Drawing.Size(48, 14);
            label21.TabIndex = 41;
            label21.Text = "Trinket 1";
            // 
            // label164
            // 
            label164.AutoSize = true;
            label164.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label164.Location = new System.Drawing.Point(7, 177);
            label164.Name = "label164";
            label164.Size = new System.Drawing.Size(75, 14);
            label164.TabIndex = 64;
            label164.Text = "Cloak Enchant";
            // 
            // label61
            // 
            label61.AutoSize = true;
            label61.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label61.Location = new System.Drawing.Point(7, 155);
            label61.Name = "label61";
            label61.Size = new System.Drawing.Size(83, 14);
            label61.TabIndex = 62;
            label61.Text = "Gloves Enchant";
            // 
            // label22
            // 
            label22.AutoSize = true;
            label22.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label22.Location = new System.Drawing.Point(7, 45);
            label22.Name = "label22";
            label22.Size = new System.Drawing.Size(48, 14);
            label22.TabIndex = 43;
            label22.Text = "Trinket 2";
            // 
            // label159
            // 
            label159.AutoSize = true;
            label159.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label159.Location = new System.Drawing.Point(7, 111);
            label159.Name = "label159";
            label159.Size = new System.Drawing.Size(66, 14);
            label159.TabIndex = 60;
            label159.Text = "Set Bonus 3";
            // 
            // label158
            // 
            label158.AutoSize = true;
            label158.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label158.Location = new System.Drawing.Point(7, 89);
            label158.Name = "label158";
            label158.Size = new System.Drawing.Size(66, 14);
            label158.TabIndex = 58;
            label158.Text = "Set Bonus 2";
            // 
            // label17
            // 
            label17.AutoSize = true;
            label17.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label17.Location = new System.Drawing.Point(6, 24);
            label17.Name = "label17";
            label17.Size = new System.Drawing.Size(88, 14);
            label17.TabIndex = 33;
            label17.Text = "Main Hand Imbue";
            // 
            // label19
            // 
            label19.AutoSize = true;
            label19.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label19.Location = new System.Drawing.Point(6, 126);
            label19.Name = "label19";
            label19.Size = new System.Drawing.Size(94, 14);
            label19.TabIndex = 39;
            label19.Text = "Off-Hand Enchant";
            // 
            // label20
            // 
            label20.AutoSize = true;
            label20.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label20.Location = new System.Drawing.Point(6, 46);
            label20.Name = "label20";
            label20.Size = new System.Drawing.Size(99, 14);
            label20.TabIndex = 37;
            label20.Text = "Main Hand Enchant";
            // 
            // label18
            // 
            label18.AutoSize = true;
            label18.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label18.Location = new System.Drawing.Point(6, 104);
            label18.Name = "label18";
            label18.Size = new System.Drawing.Size(83, 14);
            label18.TabIndex = 35;
            label18.Text = "Off-Hand Imbue";
            // 
            // label121
            // 
            label121.AutoSize = true;
            label121.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label121.Location = new System.Drawing.Point(6, 146);
            label121.Name = "label121";
            label121.Size = new System.Drawing.Size(95, 14);
            label121.TabIndex = 56;
            label121.Text = "Off-Hand Weapon";
            // 
            // label120
            // 
            label120.AutoSize = true;
            label120.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label120.Location = new System.Drawing.Point(6, 67);
            label120.Name = "label120";
            label120.Size = new System.Drawing.Size(100, 14);
            label120.TabIndex = 54;
            label120.Text = "Main Hand Weapon";
            // 
            // groupBox13
            // 
            groupBox13.Controls.Add(this.cb_glyph_major3);
            groupBox13.Controls.Add(this.cb_glyph_major2);
            groupBox13.Controls.Add(label96);
            groupBox13.Controls.Add(label95);
            groupBox13.Controls.Add(this.cb_glyph_major1);
            groupBox13.Controls.Add(label94);
            groupBox13.Controls.Add(this.cb_glyph_prime3);
            groupBox13.Controls.Add(label92);
            groupBox13.Controls.Add(this.cb_glyph_prime2);
            groupBox13.Controls.Add(label91);
            groupBox13.Controls.Add(this.cb_glyph_prime1);
            groupBox13.Controls.Add(label90);
            groupBox13.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            groupBox13.Location = new System.Drawing.Point(298, 13);
            groupBox13.Name = "groupBox13";
            groupBox13.Size = new System.Drawing.Size(222, 175);
            groupBox13.TabIndex = 11;
            groupBox13.TabStop = false;
            groupBox13.Text = "Glyphs";
            this.mToolTip.SetToolTip(groupBox13, "You can\'t use same type of glyph in multiple slots.");
            // 
            // cb_glyph_major3
            // 
            this.cb_glyph_major3.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_glyph_major3.FormattingEnabled = true;
            this.cb_glyph_major3.Items.AddRange(new object[] {
            "-",
            "Chain Lightning"});
            this.cb_glyph_major3.Location = new System.Drawing.Point(66, 143);
            this.cb_glyph_major3.Name = "cb_glyph_major3";
            this.cb_glyph_major3.Size = new System.Drawing.Size(145, 22);
            this.cb_glyph_major3.TabIndex = 25;
            this.cb_glyph_major3.Text = "-";
            // 
            // cb_glyph_major2
            // 
            this.cb_glyph_major2.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_glyph_major2.FormattingEnabled = true;
            this.cb_glyph_major2.Items.AddRange(new object[] {
            "-",
            "Chain Lightning"});
            this.cb_glyph_major2.Location = new System.Drawing.Point(66, 122);
            this.cb_glyph_major2.Name = "cb_glyph_major2";
            this.cb_glyph_major2.Size = new System.Drawing.Size(145, 22);
            this.cb_glyph_major2.TabIndex = 24;
            this.cb_glyph_major2.Text = "-";
            // 
            // label96
            // 
            label96.AutoSize = true;
            label96.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label96.Location = new System.Drawing.Point(6, 143);
            label96.Name = "label96";
            label96.Size = new System.Drawing.Size(42, 14);
            label96.TabIndex = 75;
            label96.Text = "Major 3";
            // 
            // label95
            // 
            label95.AutoSize = true;
            label95.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label95.Location = new System.Drawing.Point(6, 122);
            label95.Name = "label95";
            label95.Size = new System.Drawing.Size(42, 14);
            label95.TabIndex = 73;
            label95.Text = "Major 2";
            // 
            // cb_glyph_major1
            // 
            this.cb_glyph_major1.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_glyph_major1.FormattingEnabled = true;
            this.cb_glyph_major1.Items.AddRange(new object[] {
            "-",
            "Chain Lightning"});
            this.cb_glyph_major1.Location = new System.Drawing.Point(66, 101);
            this.cb_glyph_major1.Name = "cb_glyph_major1";
            this.cb_glyph_major1.Size = new System.Drawing.Size(145, 22);
            this.cb_glyph_major1.TabIndex = 23;
            this.cb_glyph_major1.Text = "-";
            // 
            // label94
            // 
            label94.AutoSize = true;
            label94.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label94.Location = new System.Drawing.Point(6, 101);
            label94.Name = "label94";
            label94.Size = new System.Drawing.Size(42, 14);
            label94.TabIndex = 71;
            label94.Text = "Major 1";
            // 
            // cb_glyph_prime3
            // 
            this.cb_glyph_prime3.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_glyph_prime3.FormattingEnabled = true;
            this.cb_glyph_prime3.Items.AddRange(new object[] {
            "-",
            "Feral Spirit",
            "Fire Elemental Totem",
            "Flame Shock",
            "Flametongue Weapon",
            "Lava Burst",
            "Lava Lash",
            "Lightning Bolt",
            "Shocking",
            "Stormstrike",
            "Water Shield",
            "Windfury Weapon"});
            this.cb_glyph_prime3.Location = new System.Drawing.Point(66, 66);
            this.cb_glyph_prime3.Name = "cb_glyph_prime3";
            this.cb_glyph_prime3.Size = new System.Drawing.Size(145, 22);
            this.cb_glyph_prime3.TabIndex = 22;
            this.cb_glyph_prime3.Text = "-";
            // 
            // label92
            // 
            label92.AutoSize = true;
            label92.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label92.Location = new System.Drawing.Point(6, 66);
            label92.Name = "label92";
            label92.Size = new System.Drawing.Size(42, 14);
            label92.TabIndex = 55;
            label92.Text = "Prime 3";
            // 
            // cb_glyph_prime2
            // 
            this.cb_glyph_prime2.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_glyph_prime2.FormattingEnabled = true;
            this.cb_glyph_prime2.Items.AddRange(new object[] {
            "-",
            "Feral Spirit",
            "Fire Elemental Totem",
            "Flame Shock",
            "Flametongue Weapon",
            "Lava Burst",
            "Lava Lash",
            "Lightning Bolt",
            "Shocking",
            "Stormstrike",
            "Water Shield",
            "Windfury Weapon"});
            this.cb_glyph_prime2.Location = new System.Drawing.Point(66, 45);
            this.cb_glyph_prime2.Name = "cb_glyph_prime2";
            this.cb_glyph_prime2.Size = new System.Drawing.Size(145, 22);
            this.cb_glyph_prime2.TabIndex = 21;
            this.cb_glyph_prime2.Text = "-";
            // 
            // label91
            // 
            label91.AutoSize = true;
            label91.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label91.Location = new System.Drawing.Point(6, 45);
            label91.Name = "label91";
            label91.Size = new System.Drawing.Size(42, 14);
            label91.TabIndex = 53;
            label91.Text = "Prime 2";
            // 
            // cb_glyph_prime1
            // 
            this.cb_glyph_prime1.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_glyph_prime1.FormattingEnabled = true;
            this.cb_glyph_prime1.Items.AddRange(new object[] {
            "-",
            "Feral Spirit",
            "Fire Elemental Totem",
            "Flame Shock",
            "Flametongue Weapon",
            "Lava Burst",
            "Lava Lash",
            "Lightning Bolt",
            "Shocking",
            "Stormstrike",
            "Water Shield",
            "Windfury Weapon"});
            this.cb_glyph_prime1.Location = new System.Drawing.Point(66, 24);
            this.cb_glyph_prime1.Name = "cb_glyph_prime1";
            this.cb_glyph_prime1.Size = new System.Drawing.Size(145, 22);
            this.cb_glyph_prime1.TabIndex = 20;
            this.cb_glyph_prime1.Text = "-";
            // 
            // label90
            // 
            label90.AutoSize = true;
            label90.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label90.Location = new System.Drawing.Point(6, 24);
            label90.Name = "label90";
            label90.Size = new System.Drawing.Size(42, 14);
            label90.TabIndex = 51;
            label90.Text = "Prime 1";
            // 
            // groupBox15
            // 
            groupBox15.Controls.Add(label84);
            groupBox15.Controls.Add(this.cb_convection);
            groupBox15.Controls.Add(label56);
            groupBox15.Controls.Add(this.cb_concussion);
            groupBox15.Controls.Add(label55);
            groupBox15.Controls.Add(this.cb_call_of_flame);
            groupBox15.Controls.Add(label29);
            groupBox15.Controls.Add(this.cb_reverberation);
            groupBox15.Controls.Add(label52);
            groupBox15.Controls.Add(this.cb_elemental_precision);
            groupBox15.Controls.Add(label85);
            groupBox15.Controls.Add(this.cb_elemental_focus);
            groupBox15.Controls.Add(label98);
            groupBox15.Controls.Add(this.cb_elemental_oath);
            groupBox15.Controls.Add(label99);
            groupBox15.Controls.Add(this.cb_lava_flows);
            groupBox15.Controls.Add(label100);
            groupBox15.Controls.Add(this.cb_storm_earth_and_fire);
            groupBox15.Controls.Add(label157);
            groupBox15.Controls.Add(this.cb_elemental_mastery);
            groupBox15.Controls.Add(label93);
            groupBox15.Controls.Add(this.cb_feedback);
            groupBox15.Controls.Add(label113);
            groupBox15.Controls.Add(this.cb_lava_surge);
            groupBox15.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            groupBox15.Location = new System.Drawing.Point(284, 44);
            groupBox15.Name = "groupBox15";
            groupBox15.Size = new System.Drawing.Size(228, 298);
            groupBox15.TabIndex = 12;
            groupBox15.TabStop = false;
            groupBox15.Text = "Elemental";
            // 
            // label84
            // 
            label84.AutoSize = true;
            label84.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label84.Location = new System.Drawing.Point(7, 25);
            label84.Name = "label84";
            label84.Size = new System.Drawing.Size(61, 14);
            label84.TabIndex = 126;
            label84.Text = "Convection";
            // 
            // cb_convection
            // 
            this.cb_convection.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_convection.FormattingEnabled = true;
            this.cb_convection.Items.AddRange(new object[] {
            "0",
            "1",
            "2"});
            this.cb_convection.Location = new System.Drawing.Point(179, 22);
            this.cb_convection.Name = "cb_convection";
            this.cb_convection.Size = new System.Drawing.Size(34, 22);
            this.cb_convection.TabIndex = 20;
            this.cb_convection.Text = "0";
            // 
            // label56
            // 
            label56.AutoSize = true;
            label56.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label56.Location = new System.Drawing.Point(7, 47);
            label56.Name = "label56";
            label56.Size = new System.Drawing.Size(64, 14);
            label56.TabIndex = 112;
            label56.Text = "Concussion";
            // 
            // cb_concussion
            // 
            this.cb_concussion.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_concussion.FormattingEnabled = true;
            this.cb_concussion.Items.AddRange(new object[] {
            "0",
            "1",
            "2",
            "3"});
            this.cb_concussion.Location = new System.Drawing.Point(179, 44);
            this.cb_concussion.Name = "cb_concussion";
            this.cb_concussion.Size = new System.Drawing.Size(34, 22);
            this.cb_concussion.TabIndex = 21;
            this.cb_concussion.Text = "3";
            // 
            // label55
            // 
            label55.AutoSize = true;
            label55.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label55.Location = new System.Drawing.Point(7, 69);
            label55.Name = "label55";
            label55.Size = new System.Drawing.Size(68, 14);
            label55.TabIndex = 114;
            label55.Text = "Call of Flame";
            // 
            // cb_call_of_flame
            // 
            this.cb_call_of_flame.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_call_of_flame.FormattingEnabled = true;
            this.cb_call_of_flame.Items.AddRange(new object[] {
            "0",
            "1",
            "2"});
            this.cb_call_of_flame.Location = new System.Drawing.Point(179, 66);
            this.cb_call_of_flame.Name = "cb_call_of_flame";
            this.cb_call_of_flame.Size = new System.Drawing.Size(34, 22);
            this.cb_call_of_flame.TabIndex = 22;
            this.cb_call_of_flame.Text = "0";
            // 
            // label29
            // 
            label29.AutoSize = true;
            label29.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label29.Location = new System.Drawing.Point(7, 91);
            label29.Name = "label29";
            label29.Size = new System.Drawing.Size(75, 14);
            label29.TabIndex = 130;
            label29.Text = "Reverberation";
            // 
            // cb_reverberation
            // 
            this.cb_reverberation.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_reverberation.FormattingEnabled = true;
            this.cb_reverberation.Items.AddRange(new object[] {
            "0",
            "1",
            "2"});
            this.cb_reverberation.Location = new System.Drawing.Point(179, 88);
            this.cb_reverberation.Name = "cb_reverberation";
            this.cb_reverberation.Size = new System.Drawing.Size(34, 22);
            this.cb_reverberation.TabIndex = 23;
            this.cb_reverberation.Text = "0";
            // 
            // label52
            // 
            label52.AutoSize = true;
            label52.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label52.Location = new System.Drawing.Point(7, 113);
            label52.Name = "label52";
            label52.Size = new System.Drawing.Size(99, 14);
            label52.TabIndex = 120;
            label52.Text = "Elemental Precision";
            // 
            // cb_elemental_precision
            // 
            this.cb_elemental_precision.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_elemental_precision.FormattingEnabled = true;
            this.cb_elemental_precision.Items.AddRange(new object[] {
            "0",
            "1",
            "2",
            "3"});
            this.cb_elemental_precision.Location = new System.Drawing.Point(179, 110);
            this.cb_elemental_precision.Name = "cb_elemental_precision";
            this.cb_elemental_precision.Size = new System.Drawing.Size(34, 22);
            this.cb_elemental_precision.TabIndex = 24;
            this.cb_elemental_precision.Text = "0";
            this.cb_elemental_precision.SelectedIndexChanged += new System.EventHandler(this.cb_elemental_precision_SelectedIndexChanged);
            // 
            // label85
            // 
            label85.AutoSize = true;
            label85.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label85.Location = new System.Drawing.Point(8, 135);
            label85.Name = "label85";
            label85.Size = new System.Drawing.Size(85, 14);
            label85.TabIndex = 128;
            label85.Text = "Elemental Focus";
            // 
            // cb_elemental_focus
            // 
            this.cb_elemental_focus.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_elemental_focus.FormattingEnabled = true;
            this.cb_elemental_focus.Items.AddRange(new object[] {
            "0",
            "1"});
            this.cb_elemental_focus.Location = new System.Drawing.Point(179, 132);
            this.cb_elemental_focus.Name = "cb_elemental_focus";
            this.cb_elemental_focus.Size = new System.Drawing.Size(34, 22);
            this.cb_elemental_focus.TabIndex = 25;
            this.cb_elemental_focus.Text = "1";
            // 
            // label98
            // 
            label98.AutoSize = true;
            label98.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label98.Location = new System.Drawing.Point(8, 157);
            label98.Name = "label98";
            label98.Size = new System.Drawing.Size(78, 14);
            label98.TabIndex = 148;
            label98.Text = "Elemental Oath";
            // 
            // cb_elemental_oath
            // 
            this.cb_elemental_oath.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_elemental_oath.FormattingEnabled = true;
            this.cb_elemental_oath.Items.AddRange(new object[] {
            "0",
            "1",
            "2"});
            this.cb_elemental_oath.Location = new System.Drawing.Point(179, 154);
            this.cb_elemental_oath.Name = "cb_elemental_oath";
            this.cb_elemental_oath.Size = new System.Drawing.Size(34, 22);
            this.cb_elemental_oath.TabIndex = 26;
            this.cb_elemental_oath.Text = "0";
            // 
            // label99
            // 
            label99.AutoSize = true;
            label99.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label99.Location = new System.Drawing.Point(7, 179);
            label99.Name = "label99";
            label99.Size = new System.Drawing.Size(64, 14);
            label99.TabIndex = 142;
            label99.Text = "Lava Flows";
            // 
            // cb_lava_flows
            // 
            this.cb_lava_flows.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_lava_flows.FormattingEnabled = true;
            this.cb_lava_flows.Items.AddRange(new object[] {
            "0",
            "1",
            "2",
            "3"});
            this.cb_lava_flows.Location = new System.Drawing.Point(179, 176);
            this.cb_lava_flows.Name = "cb_lava_flows";
            this.cb_lava_flows.Size = new System.Drawing.Size(34, 22);
            this.cb_lava_flows.TabIndex = 27;
            this.cb_lava_flows.Text = "0";
            // 
            // label100
            // 
            label100.AutoSize = true;
            label100.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label100.Location = new System.Drawing.Point(7, 201);
            label100.Name = "label100";
            label100.Size = new System.Drawing.Size(108, 14);
            label100.TabIndex = 141;
            label100.Text = "Storm, Earth and Fire";
            // 
            // cb_storm_earth_and_fire
            // 
            this.cb_storm_earth_and_fire.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_storm_earth_and_fire.FormattingEnabled = true;
            this.cb_storm_earth_and_fire.Items.AddRange(new object[] {
            "0",
            "1",
            "2",
            "3"});
            this.cb_storm_earth_and_fire.Location = new System.Drawing.Point(179, 198);
            this.cb_storm_earth_and_fire.Name = "cb_storm_earth_and_fire";
            this.cb_storm_earth_and_fire.Size = new System.Drawing.Size(34, 22);
            this.cb_storm_earth_and_fire.TabIndex = 28;
            this.cb_storm_earth_and_fire.Text = "0";
            // 
            // label157
            // 
            label157.AutoSize = true;
            label157.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label157.Location = new System.Drawing.Point(7, 223);
            label157.Name = "label157";
            label157.Size = new System.Drawing.Size(94, 14);
            label157.TabIndex = 148;
            label157.Text = "Elemental Mastery";
            // 
            // cb_elemental_mastery
            // 
            this.cb_elemental_mastery.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_elemental_mastery.FormattingEnabled = true;
            this.cb_elemental_mastery.Items.AddRange(new object[] {
            "0",
            "1"});
            this.cb_elemental_mastery.Location = new System.Drawing.Point(179, 220);
            this.cb_elemental_mastery.Name = "cb_elemental_mastery";
            this.cb_elemental_mastery.Size = new System.Drawing.Size(34, 22);
            this.cb_elemental_mastery.TabIndex = 29;
            this.cb_elemental_mastery.Text = "0";
            // 
            // label93
            // 
            label93.AutoSize = true;
            label93.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label93.Location = new System.Drawing.Point(7, 245);
            label93.Name = "label93";
            label93.Size = new System.Drawing.Size(54, 14);
            label93.TabIndex = 144;
            label93.Text = "Feedback";
            // 
            // cb_feedback
            // 
            this.cb_feedback.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_feedback.FormattingEnabled = true;
            this.cb_feedback.Items.AddRange(new object[] {
            "0",
            "1",
            "2",
            "3"});
            this.cb_feedback.Location = new System.Drawing.Point(179, 242);
            this.cb_feedback.Name = "cb_feedback";
            this.cb_feedback.Size = new System.Drawing.Size(34, 22);
            this.cb_feedback.TabIndex = 30;
            this.cb_feedback.Text = "0";
            // 
            // label113
            // 
            label113.AutoSize = true;
            label113.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label113.Location = new System.Drawing.Point(7, 267);
            label113.Name = "label113";
            label113.Size = new System.Drawing.Size(63, 14);
            label113.TabIndex = 146;
            label113.Text = "Lava Surge";
            // 
            // cb_lava_surge
            // 
            this.cb_lava_surge.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_lava_surge.FormattingEnabled = true;
            this.cb_lava_surge.Items.AddRange(new object[] {
            "0",
            "1",
            "2"});
            this.cb_lava_surge.Location = new System.Drawing.Point(179, 264);
            this.cb_lava_surge.Name = "cb_lava_surge";
            this.cb_lava_surge.Size = new System.Drawing.Size(34, 22);
            this.cb_lava_surge.TabIndex = 31;
            this.cb_lava_surge.Text = "0";
            // 
            // label54
            // 
            label54.AutoSize = true;
            label54.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label54.Location = new System.Drawing.Point(7, 91);
            label54.Name = "label54";
            label54.Size = new System.Drawing.Size(112, 14);
            label54.TabIndex = 116;
            label54.Text = "Elemental Devastation";
            // 
            // label53
            // 
            label53.Location = new System.Drawing.Point(0, 0);
            label53.Name = "label53";
            label53.Size = new System.Drawing.Size(100, 23);
            label53.TabIndex = 0;
            // 
            // label81
            // 
            label81.Location = new System.Drawing.Point(0, 0);
            label81.Name = "label81";
            label81.Size = new System.Drawing.Size(100, 23);
            label81.TabIndex = 0;
            // 
            // label101
            // 
            label101.Location = new System.Drawing.Point(0, 0);
            label101.Name = "label101";
            label101.Size = new System.Drawing.Size(100, 23);
            label101.TabIndex = 0;
            // 
            // groupBox14
            // 
            groupBox14.Controls.Add(label46);
            groupBox14.Controls.Add(this.cb_elemental_weapons);
            groupBox14.Controls.Add(label44);
            groupBox14.Controls.Add(this.cb_focused_strikes);
            groupBox14.Controls.Add(label58);
            groupBox14.Controls.Add(this.cb_improved_shields);
            groupBox14.Controls.Add(label54);
            groupBox14.Controls.Add(this.cb_elemental_devastation);
            groupBox14.Controls.Add(label43);
            groupBox14.Controls.Add(this.cb_flurry);
            groupBox14.Controls.Add(label57);
            groupBox14.Controls.Add(this.cb_static_shock);
            groupBox14.Controls.Add(this.label50);
            groupBox14.Controls.Add(this.cb_searing_flames);
            groupBox14.Controls.Add(label48);
            groupBox14.Controls.Add(this.cb_frozen_power);
            groupBox14.Controls.Add(label45);
            groupBox14.Controls.Add(this.cb_shamanistic_rage);
            groupBox14.Controls.Add(label47);
            groupBox14.Controls.Add(label39);
            groupBox14.Controls.Add(this.cb_improved_lava_lash);
            groupBox14.Controls.Add(this.cb_unleashed_rage);
            groupBox14.Controls.Add(label40);
            groupBox14.Controls.Add(this.cb_maelstrom_weapon);
            groupBox14.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            groupBox14.Location = new System.Drawing.Point(23, 44);
            groupBox14.Name = "groupBox14";
            groupBox14.Size = new System.Drawing.Size(231, 298);
            groupBox14.TabIndex = 11;
            groupBox14.TabStop = false;
            groupBox14.Text = "Enhancement";
            // 
            // label46
            // 
            label46.AutoSize = true;
            label46.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label46.Location = new System.Drawing.Point(7, 25);
            label46.Name = "label46";
            label46.Size = new System.Drawing.Size(101, 14);
            label46.TabIndex = 96;
            label46.Text = "Elemental Weapons";
            // 
            // cb_elemental_weapons
            // 
            this.cb_elemental_weapons.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_elemental_weapons.FormattingEnabled = true;
            this.cb_elemental_weapons.Items.AddRange(new object[] {
            "0",
            "1",
            "2"});
            this.cb_elemental_weapons.Location = new System.Drawing.Point(179, 22);
            this.cb_elemental_weapons.Name = "cb_elemental_weapons";
            this.cb_elemental_weapons.Size = new System.Drawing.Size(34, 22);
            this.cb_elemental_weapons.TabIndex = 20;
            this.cb_elemental_weapons.Text = "2";
            // 
            // label44
            // 
            label44.AutoSize = true;
            label44.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label44.Location = new System.Drawing.Point(7, 47);
            label44.Name = "label44";
            label44.Size = new System.Drawing.Size(85, 14);
            label44.TabIndex = 94;
            label44.Text = "Focused Strikes";
            // 
            // cb_focused_strikes
            // 
            this.cb_focused_strikes.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_focused_strikes.FormattingEnabled = true;
            this.cb_focused_strikes.Items.AddRange(new object[] {
            "0",
            "1",
            "2",
            "3"});
            this.cb_focused_strikes.Location = new System.Drawing.Point(179, 44);
            this.cb_focused_strikes.Name = "cb_focused_strikes";
            this.cb_focused_strikes.Size = new System.Drawing.Size(34, 22);
            this.cb_focused_strikes.TabIndex = 21;
            this.cb_focused_strikes.Text = "3";
            // 
            // label58
            // 
            label58.AutoSize = true;
            label58.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label58.Location = new System.Drawing.Point(7, 69);
            label58.Name = "label58";
            label58.Size = new System.Drawing.Size(89, 14);
            label58.TabIndex = 108;
            label58.Text = "Improved Shields";
            // 
            // cb_improved_shields
            // 
            this.cb_improved_shields.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_improved_shields.FormattingEnabled = true;
            this.cb_improved_shields.Items.AddRange(new object[] {
            "0",
            "1",
            "2",
            "3"});
            this.cb_improved_shields.Location = new System.Drawing.Point(179, 66);
            this.cb_improved_shields.Name = "cb_improved_shields";
            this.cb_improved_shields.Size = new System.Drawing.Size(34, 22);
            this.cb_improved_shields.TabIndex = 22;
            this.cb_improved_shields.Text = "0";
            // 
            // cb_elemental_devastation
            // 
            this.cb_elemental_devastation.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_elemental_devastation.FormattingEnabled = true;
            this.cb_elemental_devastation.Items.AddRange(new object[] {
            "0",
            "1",
            "2",
            "3"});
            this.cb_elemental_devastation.Location = new System.Drawing.Point(179, 88);
            this.cb_elemental_devastation.Name = "cb_elemental_devastation";
            this.cb_elemental_devastation.Size = new System.Drawing.Size(34, 22);
            this.cb_elemental_devastation.TabIndex = 23;
            this.cb_elemental_devastation.Text = "3";
            // 
            // label43
            // 
            label43.AutoSize = true;
            label43.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label43.Location = new System.Drawing.Point(7, 113);
            label43.Name = "label43";
            label43.Size = new System.Drawing.Size(35, 14);
            label43.TabIndex = 92;
            label43.Text = "Flurry";
            // 
            // cb_flurry
            // 
            this.cb_flurry.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_flurry.FormattingEnabled = true;
            this.cb_flurry.Items.AddRange(new object[] {
            "0",
            "1",
            "2",
            "3"});
            this.cb_flurry.Location = new System.Drawing.Point(179, 110);
            this.cb_flurry.Name = "cb_flurry";
            this.cb_flurry.Size = new System.Drawing.Size(34, 22);
            this.cb_flurry.TabIndex = 24;
            this.cb_flurry.Text = "3";
            // 
            // label57
            // 
            label57.AutoSize = true;
            label57.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label57.Location = new System.Drawing.Point(7, 135);
            label57.Name = "label57";
            label57.Size = new System.Drawing.Size(67, 14);
            label57.TabIndex = 110;
            label57.Text = "Static Shock";
            // 
            // cb_static_shock
            // 
            this.cb_static_shock.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_static_shock.FormattingEnabled = true;
            this.cb_static_shock.Items.AddRange(new object[] {
            "0",
            "1",
            "2",
            "3"});
            this.cb_static_shock.Location = new System.Drawing.Point(179, 132);
            this.cb_static_shock.Name = "cb_static_shock";
            this.cb_static_shock.Size = new System.Drawing.Size(34, 22);
            this.cb_static_shock.TabIndex = 25;
            this.cb_static_shock.Text = "3";
            // 
            // label50
            // 
            this.label50.AutoSize = true;
            this.label50.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label50.Location = new System.Drawing.Point(7, 157);
            this.label50.Name = "label50";
            this.label50.Size = new System.Drawing.Size(81, 14);
            this.label50.TabIndex = 148;
            this.label50.Text = "Searing Flames";
            // 
            // cb_searing_flames
            // 
            this.cb_searing_flames.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_searing_flames.FormattingEnabled = true;
            this.cb_searing_flames.Items.AddRange(new object[] {
            "0",
            "1",
            "2",
            "3"});
            this.cb_searing_flames.Location = new System.Drawing.Point(179, 154);
            this.cb_searing_flames.Name = "cb_searing_flames";
            this.cb_searing_flames.Size = new System.Drawing.Size(34, 22);
            this.cb_searing_flames.TabIndex = 27;
            this.cb_searing_flames.Text = "3";
            // 
            // label48
            // 
            label48.AutoSize = true;
            label48.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label48.Location = new System.Drawing.Point(7, 179);
            label48.Name = "label48";
            label48.Size = new System.Drawing.Size(76, 14);
            label48.TabIndex = 104;
            label48.Text = "Frozen Power";
            // 
            // cb_frozen_power
            // 
            this.cb_frozen_power.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_frozen_power.FormattingEnabled = true;
            this.cb_frozen_power.Items.AddRange(new object[] {
            "0",
            "1",
            "2"});
            this.cb_frozen_power.Location = new System.Drawing.Point(179, 176);
            this.cb_frozen_power.Name = "cb_frozen_power";
            this.cb_frozen_power.Size = new System.Drawing.Size(34, 22);
            this.cb_frozen_power.TabIndex = 28;
            this.cb_frozen_power.Text = "2";
            // 
            // label45
            // 
            label45.AutoSize = true;
            label45.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label45.Location = new System.Drawing.Point(7, 201);
            label45.Name = "label45";
            label45.Size = new System.Drawing.Size(93, 14);
            label45.TabIndex = 98;
            label45.Text = "Shamanistic Rage";
            // 
            // cb_shamanistic_rage
            // 
            this.cb_shamanistic_rage.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_shamanistic_rage.FormattingEnabled = true;
            this.cb_shamanistic_rage.Items.AddRange(new object[] {
            "0",
            "1"});
            this.cb_shamanistic_rage.Location = new System.Drawing.Point(179, 198);
            this.cb_shamanistic_rage.Name = "cb_shamanistic_rage";
            this.cb_shamanistic_rage.Size = new System.Drawing.Size(34, 22);
            this.cb_shamanistic_rage.TabIndex = 29;
            this.cb_shamanistic_rage.Text = "1";
            // 
            // label47
            // 
            label47.AutoSize = true;
            label47.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label47.Location = new System.Drawing.Point(7, 223);
            label47.Name = "label47";
            label47.Size = new System.Drawing.Size(86, 14);
            label47.TabIndex = 106;
            label47.Text = "Unleashed Rage";
            // 
            // label39
            // 
            label39.AutoSize = true;
            label39.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label39.Location = new System.Drawing.Point(7, 267);
            label39.Name = "label39";
            label39.Size = new System.Drawing.Size(105, 14);
            label39.TabIndex = 132;
            label39.Text = "Improved Lava Lash";
            // 
            // cb_improved_lava_lash
            // 
            this.cb_improved_lava_lash.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_improved_lava_lash.FormattingEnabled = true;
            this.cb_improved_lava_lash.Items.AddRange(new object[] {
            "0",
            "1",
            "2"});
            this.cb_improved_lava_lash.Location = new System.Drawing.Point(179, 264);
            this.cb_improved_lava_lash.Name = "cb_improved_lava_lash";
            this.cb_improved_lava_lash.Size = new System.Drawing.Size(34, 22);
            this.cb_improved_lava_lash.TabIndex = 32;
            this.cb_improved_lava_lash.Text = "2";
            // 
            // cb_unleashed_rage
            // 
            this.cb_unleashed_rage.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_unleashed_rage.FormattingEnabled = true;
            this.cb_unleashed_rage.Items.AddRange(new object[] {
            "0",
            "1",
            "2"});
            this.cb_unleashed_rage.Location = new System.Drawing.Point(179, 220);
            this.cb_unleashed_rage.Name = "cb_unleashed_rage";
            this.cb_unleashed_rage.Size = new System.Drawing.Size(34, 22);
            this.cb_unleashed_rage.TabIndex = 30;
            this.cb_unleashed_rage.Text = "2";
            this.cb_unleashed_rage.SelectedIndexChanged += new System.EventHandler(this.cb_unleashed_rage_SelectedIndexChanged);
            // 
            // label40
            // 
            label40.AutoSize = true;
            label40.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label40.Location = new System.Drawing.Point(7, 245);
            label40.Name = "label40";
            label40.Size = new System.Drawing.Size(99, 14);
            label40.TabIndex = 134;
            label40.Text = "Maelstrom Weapon";
            // 
            // cb_maelstrom_weapon
            // 
            this.cb_maelstrom_weapon.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_maelstrom_weapon.FormattingEnabled = true;
            this.cb_maelstrom_weapon.Items.AddRange(new object[] {
            "0",
            "1",
            "2",
            "3"});
            this.cb_maelstrom_weapon.Location = new System.Drawing.Point(179, 242);
            this.cb_maelstrom_weapon.Name = "cb_maelstrom_weapon";
            this.cb_maelstrom_weapon.Size = new System.Drawing.Size(34, 22);
            this.cb_maelstrom_weapon.TabIndex = 31;
            this.cb_maelstrom_weapon.Text = "3";
            // 
            // label49
            // 
            label49.Location = new System.Drawing.Point(0, 0);
            label49.Name = "label49";
            label49.Size = new System.Drawing.Size(100, 23);
            label49.TabIndex = 0;
            // 
            // groupBox1
            // 
            groupBox1.Controls.Add(this.btnDeleteSkillStandard);
            groupBox1.Controls.Add(this.lbStandardRotationPriority);
            groupBox1.Controls.Add(this.btnStandardRotationDown);
            groupBox1.Controls.Add(this.btnStandardRotationUp);
            groupBox1.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            groupBox1.Location = new System.Drawing.Point(12, 12);
            groupBox1.Name = "groupBox1";
            groupBox1.Size = new System.Drawing.Size(126, 424);
            groupBox1.TabIndex = 10;
            groupBox1.TabStop = false;
            groupBox1.Text = "Standard Priority";
            this.mToolTip.SetToolTip(groupBox1, "If you don\'t use all the 5 priority slots, leave empy ones last. mw=Maelstrom Wea" +
        "pon, ss=Stormstrike, fs=Flame Shock, es=Earth Shock, ls=Lightning Shield, frost=" +
        "Frost Shock");
            // 
            // btnDeleteSkillStandard
            // 
            this.btnDeleteSkillStandard.Font = new System.Drawing.Font("Wingdings", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
            this.btnDeleteSkillStandard.Location = new System.Drawing.Point(93, 100);
            this.btnDeleteSkillStandard.Name = "btnDeleteSkillStandard";
            this.btnDeleteSkillStandard.Size = new System.Drawing.Size(25, 25);
            this.btnDeleteSkillStandard.TabIndex = 23;
            this.btnDeleteSkillStandard.Text = "û";
            this.btnDeleteSkillStandard.TextAlign = System.Drawing.ContentAlignment.TopCenter;
            this.btnDeleteSkillStandard.UseVisualStyleBackColor = true;
            this.btnDeleteSkillStandard.Click += new System.EventHandler(this.btnDeleteSkillStandard_Click);
            // 
            // lbStandardRotationPriority
            // 
            this.lbStandardRotationPriority.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbStandardRotationPriority.FormattingEnabled = true;
            this.lbStandardRotationPriority.ItemHeight = 14;
            this.lbStandardRotationPriority.Location = new System.Drawing.Point(12, 20);
            this.lbStandardRotationPriority.Name = "lbStandardRotationPriority";
            this.lbStandardRotationPriority.Size = new System.Drawing.Size(75, 396);
            this.lbStandardRotationPriority.TabIndex = 20;
            // 
            // btnStandardRotationDown
            // 
            this.btnStandardRotationDown.Font = new System.Drawing.Font("Wingdings", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
            this.btnStandardRotationDown.Location = new System.Drawing.Point(93, 60);
            this.btnStandardRotationDown.Name = "btnStandardRotationDown";
            this.btnStandardRotationDown.Size = new System.Drawing.Size(25, 25);
            this.btnStandardRotationDown.TabIndex = 22;
            this.btnStandardRotationDown.Text = "â";
            this.btnStandardRotationDown.UseVisualStyleBackColor = true;
            this.btnStandardRotationDown.Click += new System.EventHandler(this.btnStandardRotationDown_Click);
            // 
            // btnStandardRotationUp
            // 
            this.btnStandardRotationUp.Font = new System.Drawing.Font("Wingdings", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
            this.btnStandardRotationUp.Location = new System.Drawing.Point(93, 20);
            this.btnStandardRotationUp.Name = "btnStandardRotationUp";
            this.btnStandardRotationUp.Size = new System.Drawing.Size(25, 25);
            this.btnStandardRotationUp.TabIndex = 21;
            this.btnStandardRotationUp.Text = "á";
            this.btnStandardRotationUp.UseVisualStyleBackColor = true;
            this.btnStandardRotationUp.Click += new System.EventHandler(this.btnStandardRotationUp_Click);
            // 
            // label123
            // 
            label123.AutoSize = true;
            label123.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label123.Location = new System.Drawing.Point(7, 62);
            label123.Name = "label123";
            label123.Size = new System.Drawing.Size(145, 14);
            label123.TabIndex = 123;
            label123.Text = "Use SR as soon as available";
            // 
            // label112
            // 
            label112.AutoSize = true;
            label112.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label112.Location = new System.Drawing.Point(7, 43);
            label112.Name = "label112";
            label112.Size = new System.Drawing.Size(143, 14);
            label112.TabIndex = 119;
            label112.Text = "Use mana potion if mana left";
            this.mToolTip.SetToolTip(label112, "maximum mana left to use mana potion");
            // 
            // label111
            // 
            label111.AutoSize = true;
            label111.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label111.Location = new System.Drawing.Point(7, 23);
            label111.Name = "label111";
            label111.Size = new System.Drawing.Size(125, 14);
            label111.TabIndex = 117;
            label111.Text = "Cast SR only if mana left";
            this.mToolTip.SetToolTip(label111, "maximum mana left to cast SR");
            // 
            // label104
            // 
            label104.AutoSize = true;
            label104.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label104.Location = new System.Drawing.Point(7, 43);
            label104.Name = "label104";
            label104.Size = new System.Drawing.Size(52, 14);
            label104.TabIndex = 113;
            label104.Text = "Off-Hand";
            // 
            // label103
            // 
            label103.AutoSize = true;
            label103.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label103.Location = new System.Drawing.Point(7, 23);
            label103.Name = "label103";
            label103.Size = new System.Drawing.Size(57, 14);
            label103.TabIndex = 111;
            label103.Text = "Main Hand";
            // 
            // groupBox7
            // 
            groupBox7.Controls.Add(label97);
            groupBox7.Controls.Add(this.cb_guardian_elixir);
            groupBox7.Controls.Add(label51);
            groupBox7.Controls.Add(label60);
            groupBox7.Controls.Add(this.cb_flask_elixir);
            groupBox7.Controls.Add(label59);
            groupBox7.Controls.Add(this.cb_food);
            groupBox7.Controls.Add(this.cb_potion);
            groupBox7.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            groupBox7.Location = new System.Drawing.Point(282, 10);
            groupBox7.Name = "groupBox7";
            groupBox7.Size = new System.Drawing.Size(240, 116);
            groupBox7.TabIndex = 11;
            groupBox7.TabStop = false;
            groupBox7.Text = "Consumables";
            this.mToolTip.SetToolTip(groupBox7, "Remember, that you can use guardin elixir only if you use elixir in the flask_eli" +
        "xir slot.");
            // 
            // label97
            // 
            label97.AutoSize = true;
            label97.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label97.Location = new System.Drawing.Point(7, 45);
            label97.Name = "label97";
            label97.Size = new System.Drawing.Size(76, 14);
            label97.TabIndex = 132;
            label97.Text = "Guardian Elixir";
            // 
            // cb_guardian_elixir
            // 
            this.cb_guardian_elixir.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_guardian_elixir.FormattingEnabled = true;
            this.cb_guardian_elixir.Items.AddRange(new object[] {
            "-",
            "elixir_of_mighty_thoughts"});
            this.cb_guardian_elixir.Location = new System.Drawing.Point(84, 42);
            this.cb_guardian_elixir.Name = "cb_guardian_elixir";
            this.cb_guardian_elixir.Size = new System.Drawing.Size(150, 22);
            this.cb_guardian_elixir.TabIndex = 21;
            this.cb_guardian_elixir.Text = "-";
            // 
            // label51
            // 
            label51.AutoSize = true;
            label51.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label51.Location = new System.Drawing.Point(7, 23);
            label51.Name = "label51";
            label51.Size = new System.Drawing.Size(70, 14);
            label51.TabIndex = 123;
            label51.Text = "Flask or Elixir";
            // 
            // label60
            // 
            label60.AutoSize = true;
            label60.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label60.Location = new System.Drawing.Point(7, 88);
            label60.Name = "label60";
            label60.Size = new System.Drawing.Size(31, 14);
            label60.TabIndex = 126;
            label60.Text = "Food";
            // 
            // cb_flask_elixir
            // 
            this.cb_flask_elixir.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_flask_elixir.FormattingEnabled = true;
            this.cb_flask_elixir.Items.AddRange(new object[] {
            "-",
            "big_cauldron_of_battle",
            "cauldron_of_battle",
            "elixir_of_impossible_accuracy",
            "elixir_of_mighty_speed",
            "elixir_of_the_cobra",
            "elixir_of_the_master",
            "elixir_of_the_naga",
            "flask_of_enhancement",
            "flask_of_flowing_water",
            "flask_of_the_draconic_mind",
            "flask_of_the_winds",
            "flask_of_titanic_strength",
            "ghost_elixir",
            "flask_of_relentless_assault",
            "elixir_of_major_agility",
            "fel_strength_elixir",
            "elixir_of_major_strength",
            "elixir_of_demonslaying",
            "elixir_of_mongoose",
            "elixir_of_mastery",
            "gurus_elixir",
            "elixir_of_mighty_agility",
            "elixir_of_mighty_strength",
            "elixir_of_expertise",
            "flask_of_endless_rage",
            "elixir_of_armor_piercing",
            "wrath_elixir",
            "elixir_of_deadly_strikes",
            "elixir_of_lightning_speed",
            "elixir_of_accuracy",
            "elixir_of_draenic_wisdom",
            "flask_of_the_frost_wyrm",
            "spellpower_elixir"});
            this.cb_flask_elixir.Location = new System.Drawing.Point(84, 20);
            this.cb_flask_elixir.Name = "cb_flask_elixir";
            this.cb_flask_elixir.Size = new System.Drawing.Size(150, 22);
            this.cb_flask_elixir.TabIndex = 20;
            this.cb_flask_elixir.Text = "-";
            this.cb_flask_elixir.SelectedIndexChanged += new System.EventHandler(this.cb_flask_elixir_SelectedIndexChanged);
            // 
            // label59
            // 
            label59.AutoSize = true;
            label59.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label59.Location = new System.Drawing.Point(7, 67);
            label59.Name = "label59";
            label59.Size = new System.Drawing.Size(36, 14);
            label59.TabIndex = 125;
            label59.Text = "Potion";
            // 
            // cb_food
            // 
            this.cb_food.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_food.FormattingEnabled = true;
            this.cb_food.Items.AddRange(new object[] {
            "-",
            "Baked Rockfish",
            "Basilisk Liverdog",
            "Beer Basted Crocolisk",
            "Broiled Dragon Feast",
            "Broiled Mountain Trout",
            "Crocolisk Au Gratin",
            "Delicious Sagefish Tail",
            "Fortune Cookie",
            "Grilled Dragon",
            "Hearty Seafood Soup",
            "lavascale Fillet",
            "Lavascale Minestrone",
            "Lightly Fried Lurker",
            "Pickled Guppy",
            "Salted Eye",
            "Seafood Magnifique Feast",
            "Seasoned Crab",
            "Severed Sagefish Head",
            "Skewered Eel",
            "Tender Baked Turtle",
            "Whitecrest Gumbo",
            "Baked Manta Ray",
            "Blackened Dragonfin",
            "Dalaran Clam Chowder",
            "Firecracker Salmon",
            "Fish Feast",
            "Grilled Sculpin",
            "Hearty Rhino",
            "Imperial Manta Steak",
            "Mammoth Meal",
            "Mega Mammoth Meal",
            "Poached Nettlefish",
            "Poached Northern Sculpin",
            "Ravager Dog",
            "Rhinolicious Wormsteak",
            "Roasted Clefthoof",
            "Roasted Worg",
            "Shoveltusk Steak",
            "Skullfish Soup",
            "Smoked Salmon",
            "Snapper Extreme",
            "Spicy Hot Talbuk",
            "Spiced Worm Burger",
            "Spicy Blue Nettlefish",
            "Tender Shoveltusk Steak",
            "Very Burnt Worg",
            "Warp Burger",
            "Worm Delight"});
            this.cb_food.Location = new System.Drawing.Point(84, 85);
            this.cb_food.Name = "cb_food";
            this.cb_food.Size = new System.Drawing.Size(150, 22);
            this.cb_food.TabIndex = 23;
            this.cb_food.Text = "-";
            this.cb_food.SelectedIndexChanged += new System.EventHandler(this.cb_food_SelectedIndexChanged);
            // 
            // cb_potion
            // 
            this.cb_potion.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_potion.FormattingEnabled = true;
            this.cb_potion.Items.AddRange(new object[] {
            "-",
            "Golemblood Potion",
            "Mighty Rejuvenation Potion",
            "Mysterious Potion",
            "Mythical Mana Potion",
            "Potion of the Tolvir",
            "Volcanic Potion",
            "Haste Potion",
            "Insane Strength Potion",
            "Heroic Potion",
            "Super Mana Potion",
            "Runic Mana Potion",
            "Potion of Speed",
            "Potion of Wild Magic"});
            this.cb_potion.Location = new System.Drawing.Point(84, 64);
            this.cb_potion.Name = "cb_potion";
            this.cb_potion.Size = new System.Drawing.Size(150, 22);
            this.cb_potion.TabIndex = 22;
            this.cb_potion.Text = "-";
            // 
            // groupBox10
            // 
            groupBox10.Controls.Add(label139);
            groupBox10.Controls.Add(label146);
            groupBox10.Controls.Add(label144);
            groupBox10.Controls.Add(label138);
            groupBox10.Controls.Add(label137);
            groupBox10.Controls.Add(label136);
            groupBox10.Controls.Add(label135);
            groupBox10.Controls.Add(this.cb_mana_buff);
            groupBox10.Controls.Add(this.tb_mana_buff);
            groupBox10.Controls.Add(this.cb_mana_regen_buff);
            groupBox10.Controls.Add(this.tb_mana_regen_buff);
            groupBox10.Controls.Add(this.cb_agi_and_strength_buff);
            groupBox10.Controls.Add(this.tb_agi_and_strength_buff);
            groupBox10.Controls.Add(this.cb_stat_multiplier);
            groupBox10.Controls.Add(this.tb_stat_multiplier);
            groupBox10.Controls.Add(this.cb_percentage_damage_increase);
            groupBox10.Controls.Add(this.tb_percentage_damage_increase);
            groupBox10.Controls.Add(this.cb_spellpower_buff);
            groupBox10.Controls.Add(this.tb_spellpower_buff);
            groupBox10.Controls.Add(this.cb_spell_haste_buff);
            groupBox10.Controls.Add(this.tb_spell_haste_buff);
            groupBox10.Controls.Add(this.cb_attack_power_buff_multiplier);
            groupBox10.Controls.Add(this.tb_attack_power_buff_multiplier);
            groupBox10.Controls.Add(this.cb_crit_chance_buff);
            groupBox10.Controls.Add(this.tb_crit_chance_buff);
            groupBox10.Controls.Add(this.cb_melee_haste_buff);
            groupBox10.Controls.Add(this.tb_melee_haste_buff);
            groupBox10.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            groupBox10.Location = new System.Drawing.Point(13, 10);
            groupBox10.Name = "groupBox10";
            groupBox10.Size = new System.Drawing.Size(254, 230);
            groupBox10.TabIndex = 10;
            groupBox10.TabStop = false;
            groupBox10.Text = "Buffs";
            // 
            // label139
            // 
            label139.AutoSize = true;
            label139.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label139.Location = new System.Drawing.Point(228, 102);
            label139.Margin = new System.Windows.Forms.Padding(0);
            label139.Name = "label139";
            label139.Size = new System.Drawing.Size(17, 14);
            label139.TabIndex = 188;
            label139.Text = "%";
            // 
            // label146
            // 
            label146.AutoSize = true;
            label146.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label146.Location = new System.Drawing.Point(228, 143);
            label146.Margin = new System.Windows.Forms.Padding(0);
            label146.Name = "label146";
            label146.Size = new System.Drawing.Size(17, 14);
            label146.TabIndex = 185;
            label146.Text = "%";
            // 
            // label144
            // 
            label144.AutoSize = true;
            label144.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label144.Location = new System.Drawing.Point(228, 123);
            label144.Margin = new System.Windows.Forms.Padding(0);
            label144.Name = "label144";
            label144.Size = new System.Drawing.Size(17, 14);
            label144.TabIndex = 183;
            label144.Text = "%";
            // 
            // label138
            // 
            label138.AutoSize = true;
            label138.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label138.Location = new System.Drawing.Point(228, 82);
            label138.Margin = new System.Windows.Forms.Padding(0);
            label138.Name = "label138";
            label138.Size = new System.Drawing.Size(17, 14);
            label138.TabIndex = 177;
            label138.Text = "%";
            // 
            // label137
            // 
            label137.AutoSize = true;
            label137.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label137.Location = new System.Drawing.Point(228, 62);
            label137.Margin = new System.Windows.Forms.Padding(0);
            label137.Name = "label137";
            label137.Size = new System.Drawing.Size(17, 14);
            label137.TabIndex = 176;
            label137.Text = "%";
            // 
            // label136
            // 
            label136.AutoSize = true;
            label136.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label136.Location = new System.Drawing.Point(228, 41);
            label136.Margin = new System.Windows.Forms.Padding(0);
            label136.Name = "label136";
            label136.Size = new System.Drawing.Size(17, 14);
            label136.TabIndex = 175;
            label136.Text = "%";
            // 
            // label135
            // 
            label135.AutoSize = true;
            label135.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label135.Location = new System.Drawing.Point(228, 21);
            label135.Margin = new System.Windows.Forms.Padding(0);
            label135.Name = "label135";
            label135.Size = new System.Drawing.Size(17, 14);
            label135.TabIndex = 174;
            label135.Text = "%";
            // 
            // cb_mana_buff
            // 
            this.cb_mana_buff.AutoSize = true;
            this.cb_mana_buff.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_mana_buff.Location = new System.Drawing.Point(17, 182);
            this.cb_mana_buff.Name = "cb_mana_buff";
            this.cb_mana_buff.Size = new System.Drawing.Size(76, 18);
            this.cb_mana_buff.TabIndex = 44;
            this.cb_mana_buff.Text = "Mana Buff";
            this.mToolTip.SetToolTip(this.cb_mana_buff, "Arcane Brilliance, Fel Hunter");
            this.cb_mana_buff.UseVisualStyleBackColor = true;
            this.cb_mana_buff.CheckedChanged += new System.EventHandler(this.cb_mana_buff_CheckedChanged);
            // 
            // tb_mana_buff
            // 
            this.tb_mana_buff.Enabled = false;
            this.tb_mana_buff.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_mana_buff.Location = new System.Drawing.Point(187, 180);
            this.tb_mana_buff.Name = "tb_mana_buff";
            this.tb_mana_buff.Size = new System.Drawing.Size(38, 20);
            this.tb_mana_buff.TabIndex = 45;
            this.tb_mana_buff.Text = "5401";
            // 
            // cb_mana_regen_buff
            // 
            this.cb_mana_regen_buff.AutoSize = true;
            this.cb_mana_regen_buff.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_mana_regen_buff.Location = new System.Drawing.Point(17, 202);
            this.cb_mana_regen_buff.Name = "cb_mana_regen_buff";
            this.cb_mana_regen_buff.Size = new System.Drawing.Size(110, 18);
            this.cb_mana_regen_buff.TabIndex = 46;
            this.cb_mana_regen_buff.Text = "Mana Regen Buff";
            this.mToolTip.SetToolTip(this.cb_mana_regen_buff, "Blessing of Might, Mana Spring Totem, Fel Hunter");
            this.cb_mana_regen_buff.UseVisualStyleBackColor = true;
            this.cb_mana_regen_buff.CheckedChanged += new System.EventHandler(this.cb_mana_regen_buff_CheckedChanged);
            // 
            // tb_mana_regen_buff
            // 
            this.tb_mana_regen_buff.Enabled = false;
            this.tb_mana_regen_buff.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_mana_regen_buff.Location = new System.Drawing.Point(187, 200);
            this.tb_mana_regen_buff.Name = "tb_mana_regen_buff";
            this.tb_mana_regen_buff.Size = new System.Drawing.Size(38, 20);
            this.tb_mana_regen_buff.TabIndex = 47;
            this.tb_mana_regen_buff.Text = "326";
            // 
            // cb_agi_and_strength_buff
            // 
            this.cb_agi_and_strength_buff.AutoSize = true;
            this.cb_agi_and_strength_buff.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_agi_and_strength_buff.Location = new System.Drawing.Point(17, 162);
            this.cb_agi_and_strength_buff.Name = "cb_agi_and_strength_buff";
            this.cb_agi_and_strength_buff.Size = new System.Drawing.Size(131, 18);
            this.cb_agi_and_strength_buff.TabIndex = 42;
            this.cb_agi_and_strength_buff.Text = "Agi and Strength Buff";
            this.mToolTip.SetToolTip(this.cb_agi_and_strength_buff, "Horn of Winter, Strength of Earth Totem, Battle Shout, Hunter Pet (Cat, Spirit Be" +
        "ast)");
            this.cb_agi_and_strength_buff.UseVisualStyleBackColor = true;
            this.cb_agi_and_strength_buff.CheckedChanged += new System.EventHandler(this.cb_agi_and_strength_buff_CheckedChanged);
            // 
            // tb_agi_and_strength_buff
            // 
            this.tb_agi_and_strength_buff.Enabled = false;
            this.tb_agi_and_strength_buff.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_agi_and_strength_buff.Location = new System.Drawing.Point(187, 160);
            this.tb_agi_and_strength_buff.Name = "tb_agi_and_strength_buff";
            this.tb_agi_and_strength_buff.Size = new System.Drawing.Size(38, 20);
            this.tb_agi_and_strength_buff.TabIndex = 43;
            this.tb_agi_and_strength_buff.Text = "178";
            // 
            // cb_stat_multiplier
            // 
            this.cb_stat_multiplier.AutoSize = true;
            this.cb_stat_multiplier.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_stat_multiplier.Location = new System.Drawing.Point(17, 142);
            this.cb_stat_multiplier.Name = "cb_stat_multiplier";
            this.cb_stat_multiplier.Size = new System.Drawing.Size(89, 18);
            this.cb_stat_multiplier.TabIndex = 40;
            this.cb_stat_multiplier.Text = "Stat Multiplier";
            this.mToolTip.SetToolTip(this.cb_stat_multiplier, "Mark of the Wild, Blessing of Kings, Hunter Pet (Shale Spider)");
            this.cb_stat_multiplier.UseVisualStyleBackColor = true;
            this.cb_stat_multiplier.CheckedChanged += new System.EventHandler(this.cb_stat_multiplier_CheckedChanged);
            // 
            // tb_stat_multiplier
            // 
            this.tb_stat_multiplier.Enabled = false;
            this.tb_stat_multiplier.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_stat_multiplier.Location = new System.Drawing.Point(187, 140);
            this.tb_stat_multiplier.Name = "tb_stat_multiplier";
            this.tb_stat_multiplier.Size = new System.Drawing.Size(38, 20);
            this.tb_stat_multiplier.TabIndex = 41;
            this.tb_stat_multiplier.Text = "5.0";
            // 
            // cb_percentage_damage_increase
            // 
            this.cb_percentage_damage_increase.AutoSize = true;
            this.cb_percentage_damage_increase.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_percentage_damage_increase.Location = new System.Drawing.Point(17, 122);
            this.cb_percentage_damage_increase.Name = "cb_percentage_damage_increase";
            this.cb_percentage_damage_increase.Size = new System.Drawing.Size(168, 18);
            this.cb_percentage_damage_increase.TabIndex = 38;
            this.cb_percentage_damage_increase.Text = "Percentage Damage Increase";
            this.mToolTip.SetToolTip(this.cb_percentage_damage_increase, "Arcane Tactics, Communion, Ferocious Inspiration");
            this.cb_percentage_damage_increase.UseVisualStyleBackColor = true;
            this.cb_percentage_damage_increase.CheckedChanged += new System.EventHandler(this.cb_percentage_damage_increase_CheckedChanged);
            // 
            // tb_percentage_damage_increase
            // 
            this.tb_percentage_damage_increase.Enabled = false;
            this.tb_percentage_damage_increase.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_percentage_damage_increase.Location = new System.Drawing.Point(187, 120);
            this.tb_percentage_damage_increase.Name = "tb_percentage_damage_increase";
            this.tb_percentage_damage_increase.Size = new System.Drawing.Size(38, 20);
            this.tb_percentage_damage_increase.TabIndex = 39;
            this.tb_percentage_damage_increase.Text = "3.0";
            // 
            // cb_spellpower_buff
            // 
            this.cb_spellpower_buff.AutoSize = true;
            this.cb_spellpower_buff.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_spellpower_buff.Location = new System.Drawing.Point(17, 102);
            this.cb_spellpower_buff.Name = "cb_spellpower_buff";
            this.cb_spellpower_buff.Size = new System.Drawing.Size(105, 18);
            this.cb_spellpower_buff.TabIndex = 36;
            this.cb_spellpower_buff.Text = "Spellpower Buff";
            this.mToolTip.SetToolTip(this.cb_spellpower_buff, "Totemic Wrath, Demonic Pact");
            this.cb_spellpower_buff.UseVisualStyleBackColor = true;
            this.cb_spellpower_buff.CheckedChanged += new System.EventHandler(this.cb_spellpower_buff_CheckedChanged);
            // 
            // tb_spellpower_buff
            // 
            this.tb_spellpower_buff.Enabled = false;
            this.tb_spellpower_buff.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_spellpower_buff.Location = new System.Drawing.Point(187, 99);
            this.tb_spellpower_buff.Name = "tb_spellpower_buff";
            this.tb_spellpower_buff.Size = new System.Drawing.Size(38, 20);
            this.tb_spellpower_buff.TabIndex = 37;
            this.tb_spellpower_buff.Text = "10.0";
            // 
            // cb_spell_haste_buff
            // 
            this.cb_spell_haste_buff.AutoSize = true;
            this.cb_spell_haste_buff.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_spell_haste_buff.Location = new System.Drawing.Point(17, 82);
            this.cb_spell_haste_buff.Name = "cb_spell_haste_buff";
            this.cb_spell_haste_buff.Size = new System.Drawing.Size(104, 18);
            this.cb_spell_haste_buff.TabIndex = 30;
            this.cb_spell_haste_buff.Text = "Spell Haste Buff";
            this.mToolTip.SetToolTip(this.cb_spell_haste_buff, "Moonkin Form, Shadow Form, Wrath of Air Totem");
            this.cb_spell_haste_buff.UseVisualStyleBackColor = true;
            this.cb_spell_haste_buff.CheckedChanged += new System.EventHandler(this.cb_spell_haste_buff_CheckedChanged);
            // 
            // tb_spell_haste_buff
            // 
            this.tb_spell_haste_buff.Enabled = false;
            this.tb_spell_haste_buff.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_spell_haste_buff.Location = new System.Drawing.Point(187, 79);
            this.tb_spell_haste_buff.Name = "tb_spell_haste_buff";
            this.tb_spell_haste_buff.Size = new System.Drawing.Size(38, 20);
            this.tb_spell_haste_buff.TabIndex = 31;
            this.tb_spell_haste_buff.Text = "5.0";
            // 
            // cb_attack_power_buff_multiplier
            // 
            this.cb_attack_power_buff_multiplier.AutoSize = true;
            this.cb_attack_power_buff_multiplier.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_attack_power_buff_multiplier.Location = new System.Drawing.Point(17, 62);
            this.cb_attack_power_buff_multiplier.Name = "cb_attack_power_buff_multiplier";
            this.cb_attack_power_buff_multiplier.Size = new System.Drawing.Size(160, 18);
            this.cb_attack_power_buff_multiplier.TabIndex = 28;
            this.cb_attack_power_buff_multiplier.Text = "Attack Power Buff Multiplier";
            this.mToolTip.SetToolTip(this.cb_attack_power_buff_multiplier, "Abomination\'s Might, Blessing of Might, Unleashed Rage, Trueshot Aura\r\nTalent poi" +
        "nts in Unleashed Rage will automatically include this buff.  ");
            this.cb_attack_power_buff_multiplier.UseVisualStyleBackColor = true;
            this.cb_attack_power_buff_multiplier.CheckedChanged += new System.EventHandler(this.cb_attack_power_buff_multiplier_CheckedChanged);
            // 
            // tb_attack_power_buff_multiplier
            // 
            this.tb_attack_power_buff_multiplier.Enabled = false;
            this.tb_attack_power_buff_multiplier.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_attack_power_buff_multiplier.Location = new System.Drawing.Point(187, 59);
            this.tb_attack_power_buff_multiplier.Name = "tb_attack_power_buff_multiplier";
            this.tb_attack_power_buff_multiplier.Size = new System.Drawing.Size(38, 20);
            this.tb_attack_power_buff_multiplier.TabIndex = 29;
            this.tb_attack_power_buff_multiplier.Text = "10.0";
            // 
            // cb_crit_chance_buff
            // 
            this.cb_crit_chance_buff.AutoSize = true;
            this.cb_crit_chance_buff.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_crit_chance_buff.Location = new System.Drawing.Point(17, 42);
            this.cb_crit_chance_buff.Name = "cb_crit_chance_buff";
            this.cb_crit_chance_buff.Size = new System.Drawing.Size(106, 18);
            this.cb_crit_chance_buff.TabIndex = 26;
            this.cb_crit_chance_buff.Text = "Crit Chance Buff";
            this.mToolTip.SetToolTip(this.cb_crit_chance_buff, "Leader of the Pack, Honor Among Thieves, Elemental Oath, Rampage, Hunter Pet (Wol" +
        "f, Devilsaur)");
            this.cb_crit_chance_buff.UseVisualStyleBackColor = true;
            this.cb_crit_chance_buff.CheckedChanged += new System.EventHandler(this.cb_crit_chance_buff_CheckedChanged);
            // 
            // tb_crit_chance_buff
            // 
            this.tb_crit_chance_buff.Enabled = false;
            this.tb_crit_chance_buff.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_crit_chance_buff.Location = new System.Drawing.Point(187, 39);
            this.tb_crit_chance_buff.Name = "tb_crit_chance_buff";
            this.tb_crit_chance_buff.Size = new System.Drawing.Size(38, 20);
            this.tb_crit_chance_buff.TabIndex = 27;
            this.tb_crit_chance_buff.Text = "5.0";
            // 
            // cb_melee_haste_buff
            // 
            this.cb_melee_haste_buff.AutoSize = true;
            this.cb_melee_haste_buff.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_melee_haste_buff.Location = new System.Drawing.Point(17, 22);
            this.cb_melee_haste_buff.Name = "cb_melee_haste_buff";
            this.cb_melee_haste_buff.Size = new System.Drawing.Size(109, 18);
            this.cb_melee_haste_buff.TabIndex = 24;
            this.cb_melee_haste_buff.Text = "Melee Haste Buff";
            this.mToolTip.SetToolTip(this.cb_melee_haste_buff, "Iimproved Icy Talons, Windfury Totem, Hunting Party");
            this.cb_melee_haste_buff.UseVisualStyleBackColor = true;
            this.cb_melee_haste_buff.CheckedChanged += new System.EventHandler(this.cb_melee_haste_buff_CheckedChanged);
            // 
            // tb_melee_haste_buff
            // 
            this.tb_melee_haste_buff.Enabled = false;
            this.tb_melee_haste_buff.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_melee_haste_buff.Location = new System.Drawing.Point(187, 19);
            this.tb_melee_haste_buff.Name = "tb_melee_haste_buff";
            this.tb_melee_haste_buff.Size = new System.Drawing.Size(38, 20);
            this.tb_melee_haste_buff.TabIndex = 25;
            this.tb_melee_haste_buff.Text = "20.0";
            // 
            // label163
            // 
            label163.AutoSize = true;
            label163.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label163.Location = new System.Drawing.Point(228, 22);
            label163.Margin = new System.Windows.Forms.Padding(0);
            label163.Name = "label163";
            label163.Size = new System.Drawing.Size(17, 14);
            label163.TabIndex = 187;
            label163.Text = "%";
            // 
            // label141
            // 
            label141.AutoSize = true;
            label141.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label141.Location = new System.Drawing.Point(228, 62);
            label141.Margin = new System.Windows.Forms.Padding(0);
            label141.Name = "label141";
            label141.Size = new System.Drawing.Size(17, 14);
            label141.TabIndex = 180;
            label141.Text = "%";
            // 
            // label140
            // 
            label140.AutoSize = true;
            label140.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label140.Location = new System.Drawing.Point(228, 82);
            label140.Margin = new System.Windows.Forms.Padding(0);
            label140.Name = "label140";
            label140.Size = new System.Drawing.Size(17, 14);
            label140.TabIndex = 179;
            label140.Text = "%";
            // 
            // label134
            // 
            label134.AutoSize = true;
            label134.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label134.Location = new System.Drawing.Point(228, 42);
            label134.Margin = new System.Windows.Forms.Padding(0);
            label134.Name = "label134";
            label134.Size = new System.Drawing.Size(17, 14);
            label134.TabIndex = 173;
            label134.Text = "%";
            // 
            // label106
            // 
            label106.AutoSize = true;
            label106.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label106.Location = new System.Drawing.Point(180, 102);
            label106.Name = "label106";
            label106.Size = new System.Drawing.Size(27, 14);
            label106.TabIndex = 79;
            label106.Text = "Mp5";
            // 
            // label107
            // 
            label107.AutoSize = true;
            label107.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label107.Location = new System.Drawing.Point(180, 82);
            label107.Name = "label107";
            label107.Size = new System.Drawing.Size(31, 14);
            label107.TabIndex = 77;
            label107.Text = "Spirit";
            // 
            // label108
            // 
            label108.AutoSize = true;
            label108.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label108.Location = new System.Drawing.Point(180, 62);
            label108.Name = "label108";
            label108.Size = new System.Drawing.Size(33, 14);
            label108.TabIndex = 75;
            label108.Text = "Mana";
            // 
            // label74
            // 
            label74.AutoSize = true;
            label74.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label74.Location = new System.Drawing.Point(180, 22);
            label74.Name = "label74";
            label74.Size = new System.Drawing.Size(62, 14);
            label74.TabIndex = 69;
            label74.Text = "Spellpower";
            // 
            // label75
            // 
            label75.AutoSize = true;
            label75.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label75.Location = new System.Drawing.Point(180, 43);
            label75.Name = "label75";
            label75.Size = new System.Drawing.Size(26, 14);
            label75.TabIndex = 71;
            label75.Text = "Dps";
            // 
            // groupBox8
            // 
            groupBox8.Controls.Add(this.groupBox21);
            groupBox8.Controls.Add(this.groupBox20);
            groupBox8.Controls.Add(this.mCalcEPValuesButton);
            groupBox8.Controls.Add(this.mSimulateButton);
            groupBox8.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            groupBox8.Location = new System.Drawing.Point(741, 9);
            groupBox8.Name = "groupBox8";
            groupBox8.Size = new System.Drawing.Size(246, 341);
            groupBox8.TabIndex = 3;
            groupBox8.TabStop = false;
            groupBox8.Text = "Simulation Variables";
            // 
            // groupBox21
            // 
            this.groupBox21.Controls.Add(label64);
            this.groupBox21.Controls.Add(this.mReportCountText);
            this.groupBox21.Controls.Add(label87);
            this.groupBox21.Controls.Add(this.mMinLagText);
            this.groupBox21.Controls.Add(this.mOutputText);
            this.groupBox21.Controls.Add(this.mMaxLagText);
            this.groupBox21.Controls.Add(this.mSimulateManaCheck);
            this.groupBox21.Controls.Add(label86);
            this.groupBox21.Controls.Add(label155);
            this.groupBox21.Controls.Add(label150);
            this.groupBox21.Controls.Add(label42);
            this.groupBox21.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.groupBox21.ForeColor = System.Drawing.SystemColors.ControlText;
            this.groupBox21.Location = new System.Drawing.Point(10, 135);
            this.groupBox21.Name = "groupBox21";
            this.groupBox21.Size = new System.Drawing.Size(226, 116);
            this.groupBox21.TabIndex = 11;
            this.groupBox21.TabStop = false;
            this.groupBox21.Text = "Misc";
            // 
            // label64
            // 
            label64.AutoSize = true;
            label64.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label64.Location = new System.Drawing.Point(7, 22);
            label64.Name = "label64";
            label64.Size = new System.Drawing.Size(70, 14);
            label64.TabIndex = 61;
            label64.Text = "Report Count";
            this.mToolTip.SetToolTip(label64, "Tells how many dots will be printed as progress bar. Usually 80 dots go to one li" +
        "ne.");
            // 
            // mReportCountText
            // 
            this.mReportCountText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mReportCountText.Location = new System.Drawing.Point(147, 19);
            this.mReportCountText.Name = "mReportCountText";
            this.mReportCountText.Size = new System.Drawing.Size(48, 20);
            this.mReportCountText.TabIndex = 20;
            this.mReportCountText.Text = "80";
            // 
            // label87
            // 
            label87.AutoSize = true;
            label87.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label87.Location = new System.Drawing.Point(7, 44);
            label87.Name = "label87";
            label87.Size = new System.Drawing.Size(74, 14);
            label87.TabIndex = 66;
            label87.Text = "Reaction Time";
            this.mToolTip.SetToolTip(label87, "This is your game lag PLUS your reaction time in milliseconds. It should never be" +
        " less than 200ms minimum if you want an accurate simulation.");
            // 
            // mMinLagText
            // 
            this.mMinLagText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mMinLagText.Location = new System.Drawing.Point(91, 41);
            this.mMinLagText.Name = "mMinLagText";
            this.mMinLagText.Size = new System.Drawing.Size(40, 20);
            this.mMinLagText.TabIndex = 21;
            this.mMinLagText.Text = "0";
            this.mMinLagText.TextChanged += new System.EventHandler(this.mMinLagText_TextChanged);
            // 
            // mOutputText
            // 
            this.mOutputText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mOutputText.Location = new System.Drawing.Point(116, 86);
            this.mOutputText.Name = "mOutputText";
            this.mOutputText.Size = new System.Drawing.Size(79, 20);
            this.mOutputText.TabIndex = 24;
            this.mOutputText.Text = "output.txt";
            // 
            // mMaxLagText
            // 
            this.mMaxLagText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mMaxLagText.Location = new System.Drawing.Point(147, 41);
            this.mMaxLagText.Name = "mMaxLagText";
            this.mMaxLagText.Size = new System.Drawing.Size(48, 20);
            this.mMaxLagText.TabIndex = 22;
            this.mMaxLagText.Text = "0";
            // 
            // mSimulateManaCheck
            // 
            this.mSimulateManaCheck.AutoSize = true;
            this.mSimulateManaCheck.Checked = true;
            this.mSimulateManaCheck.CheckState = System.Windows.Forms.CheckState.Checked;
            this.mSimulateManaCheck.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mSimulateManaCheck.Location = new System.Drawing.Point(147, 67);
            this.mSimulateManaCheck.Name = "mSimulateManaCheck";
            this.mSimulateManaCheck.Size = new System.Drawing.Size(15, 14);
            this.mSimulateManaCheck.TabIndex = 23;
            this.mSimulateManaCheck.UseVisualStyleBackColor = true;
            // 
            // label86
            // 
            label86.AutoSize = true;
            label86.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label86.Location = new System.Drawing.Point(134, 41);
            label86.Name = "label86";
            label86.Size = new System.Drawing.Size(13, 14);
            label86.TabIndex = 67;
            label86.Text = "_";
            // 
            // label155
            // 
            label155.AutoSize = true;
            label155.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label155.Location = new System.Drawing.Point(7, 89);
            label155.Name = "label155";
            label155.Size = new System.Drawing.Size(58, 14);
            label155.TabIndex = 115;
            label155.Text = "Output File";
            // 
            // label150
            // 
            label150.AutoSize = true;
            label150.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label150.Location = new System.Drawing.Point(198, 44);
            label150.Margin = new System.Windows.Forms.Padding(0);
            label150.Name = "label150";
            label150.Size = new System.Drawing.Size(22, 14);
            label150.TabIndex = 113;
            label150.Text = "ms";
            // 
            // label42
            // 
            label42.AutoSize = true;
            label42.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label42.Location = new System.Drawing.Point(7, 66);
            label42.Name = "label42";
            label42.Size = new System.Drawing.Size(76, 14);
            label42.TabIndex = 109;
            label42.Text = "Simulate Mana";
            // 
            // groupBox20
            // 
            this.groupBox20.Controls.Add(label5);
            this.groupBox20.Controls.Add(label62);
            this.groupBox20.Controls.Add(label63);
            this.groupBox20.Controls.Add(this.mSimTimeText);
            this.groupBox20.Controls.Add(this.mSimTimeCombatLogText);
            this.groupBox20.Controls.Add(label65);
            this.groupBox20.Controls.Add(this.mCombatLengthText);
            this.groupBox20.Controls.Add(label149);
            this.groupBox20.Controls.Add(this.mCombatVarText);
            this.groupBox20.Controls.Add(label148);
            this.groupBox20.Controls.Add(label66);
            this.groupBox20.Controls.Add(label147);
            this.groupBox20.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.groupBox20.ForeColor = System.Drawing.SystemColors.ControlText;
            this.groupBox20.Location = new System.Drawing.Point(10, 20);
            this.groupBox20.Name = "groupBox20";
            this.groupBox20.Size = new System.Drawing.Size(226, 109);
            this.groupBox20.TabIndex = 10;
            this.groupBox20.TabStop = false;
            this.groupBox20.Text = "Duration";
            // 
            // label5
            // 
            label5.AutoSize = true;
            label5.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label5.Location = new System.Drawing.Point(197, 82);
            label5.Name = "label5";
            label5.Size = new System.Drawing.Size(17, 14);
            label5.TabIndex = 118;
            label5.Text = "%";
            // 
            // label62
            // 
            label62.AutoSize = true;
            label62.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label62.Location = new System.Drawing.Point(7, 22);
            label62.Name = "label62";
            label62.Size = new System.Drawing.Size(80, 14);
            label62.TabIndex = 1;
            label62.Text = "Simulation Time";
            this.mToolTip.SetToolTip(label62, "in hours");
            // 
            // label63
            // 
            label63.AutoSize = true;
            label63.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label63.Location = new System.Drawing.Point(7, 42);
            label63.Name = "label63";
            label63.Size = new System.Drawing.Size(133, 14);
            label63.TabIndex = 57;
            label63.Text = "Simulation Time Combatlog";
            this.mToolTip.SetToolTip(label63, "in minutes");
            // 
            // mSimTimeText
            // 
            this.mSimTimeText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mSimTimeText.Location = new System.Drawing.Point(147, 19);
            this.mSimTimeText.Name = "mSimTimeText";
            this.mSimTimeText.Size = new System.Drawing.Size(48, 20);
            this.mSimTimeText.TabIndex = 20;
            this.mSimTimeText.Text = "1000";
            // 
            // mSimTimeCombatLogText
            // 
            this.mSimTimeCombatLogText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mSimTimeCombatLogText.Location = new System.Drawing.Point(147, 39);
            this.mSimTimeCombatLogText.Name = "mSimTimeCombatLogText";
            this.mSimTimeCombatLogText.Size = new System.Drawing.Size(48, 20);
            this.mSimTimeCombatLogText.TabIndex = 21;
            this.mSimTimeCombatLogText.Text = "30";
            // 
            // label65
            // 
            label65.AutoSize = true;
            label65.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label65.Location = new System.Drawing.Point(7, 62);
            label65.Name = "label65";
            label65.Size = new System.Drawing.Size(79, 14);
            label65.TabIndex = 59;
            label65.Text = "Combat Length";
            this.mToolTip.SetToolTip(label65, "in minutes");
            // 
            // mCombatLengthText
            // 
            this.mCombatLengthText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mCombatLengthText.Location = new System.Drawing.Point(147, 59);
            this.mCombatLengthText.Name = "mCombatLengthText";
            this.mCombatLengthText.Size = new System.Drawing.Size(48, 20);
            this.mCombatLengthText.TabIndex = 22;
            this.mCombatLengthText.Text = "5";
            // 
            // label149
            // 
            label149.AutoSize = true;
            label149.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label149.Location = new System.Drawing.Point(197, 62);
            label149.Margin = new System.Windows.Forms.Padding(0);
            label149.Name = "label149";
            label149.Size = new System.Drawing.Size(25, 14);
            label149.TabIndex = 112;
            label149.Text = "min";
            // 
            // mCombatVarText
            // 
            this.mCombatVarText.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mCombatVarText.Location = new System.Drawing.Point(147, 79);
            this.mCombatVarText.Name = "mCombatVarText";
            this.mCombatVarText.Size = new System.Drawing.Size(48, 20);
            this.mCombatVarText.TabIndex = 23;
            this.mCombatVarText.Text = "0";
            // 
            // label148
            // 
            label148.AutoSize = true;
            label148.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label148.Location = new System.Drawing.Point(197, 42);
            label148.Margin = new System.Windows.Forms.Padding(0);
            label148.Name = "label148";
            label148.Size = new System.Drawing.Size(25, 14);
            label148.TabIndex = 111;
            label148.Text = "min";
            // 
            // label66
            // 
            label66.AutoSize = true;
            label66.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label66.Location = new System.Drawing.Point(7, 82);
            label66.Name = "label66";
            label66.Size = new System.Drawing.Size(125, 14);
            label66.TabIndex = 63;
            label66.Text = "Combat Length Variation";
            this.mToolTip.SetToolTip(label66, "Maximum random adjustment to add to each combat run");
            // 
            // label147
            // 
            label147.AutoSize = true;
            label147.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label147.Location = new System.Drawing.Point(197, 23);
            label147.Margin = new System.Windows.Forms.Padding(0);
            label147.Name = "label147";
            label147.Size = new System.Drawing.Size(13, 14);
            label147.TabIndex = 110;
            label147.Text = "h";
            // 
            // mCalcEPValuesButton
            // 
            this.mCalcEPValuesButton.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mCalcEPValuesButton.Location = new System.Drawing.Point(10, 297);
            this.mCalcEPValuesButton.Name = "mCalcEPValuesButton";
            this.mCalcEPValuesButton.Size = new System.Drawing.Size(226, 30);
            this.mCalcEPValuesButton.TabIndex = 13;
            this.mCalcEPValuesButton.Text = "Calculate EP values";
            this.mCalcEPValuesButton.UseVisualStyleBackColor = true;
            this.mCalcEPValuesButton.Click += new System.EventHandler(this.mCalcEPValuesButton_Click);
            // 
            // mSimulateButton
            // 
            this.mSimulateButton.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mSimulateButton.Location = new System.Drawing.Point(10, 261);
            this.mSimulateButton.Name = "mSimulateButton";
            this.mSimulateButton.Size = new System.Drawing.Size(226, 30);
            this.mSimulateButton.TabIndex = 12;
            this.mSimulateButton.Text = "Simulate";
            this.mSimulateButton.UseVisualStyleBackColor = true;
            this.mSimulateButton.Click += new System.EventHandler(this.mSimulateButton_Click);
            // 
            // groupBox12
            // 
            groupBox12.Controls.Add(this.mInfoListBox);
            groupBox12.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            groupBox12.Location = new System.Drawing.Point(193, 483);
            groupBox12.Name = "groupBox12";
            groupBox12.Size = new System.Drawing.Size(794, 163);
            groupBox12.TabIndex = 7;
            groupBox12.TabStop = false;
            groupBox12.Text = "Info";
            // 
            // mInfoListBox
            // 
            this.mInfoListBox.BackColor = System.Drawing.SystemColors.Window;
            this.mInfoListBox.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mInfoListBox.FormattingEnabled = true;
            this.mInfoListBox.HorizontalScrollbar = true;
            this.mInfoListBox.ItemHeight = 15;
            this.mInfoListBox.Location = new System.Drawing.Point(16, 19);
            this.mInfoListBox.Name = "mInfoListBox";
            this.mInfoListBox.Size = new System.Drawing.Size(772, 124);
            this.mInfoListBox.TabIndex = 0;
            // 
            // groupBox19
            // 
            groupBox19.Controls.Add(label67);
            groupBox19.Controls.Add(this.mSimLocationText);
            groupBox19.Controls.Add(this.mSimPathBrowseButton);
            groupBox19.Location = new System.Drawing.Point(741, 359);
            groupBox19.Name = "groupBox19";
            groupBox19.Size = new System.Drawing.Size(246, 75);
            groupBox19.TabIndex = 4;
            groupBox19.TabStop = false;
            groupBox19.Text = "Simulator Path";
            // 
            // label67
            // 
            label67.AutoSize = true;
            label67.Location = new System.Drawing.Point(13, 24);
            label67.Name = "label67";
            label67.Size = new System.Drawing.Size(28, 14);
            label67.TabIndex = 4;
            label67.Text = "Path";
            // 
            // mSimLocationText
            // 
            this.mSimLocationText.ForeColor = System.Drawing.SystemColors.ControlText;
            this.mSimLocationText.Location = new System.Drawing.Point(16, 40);
            this.mSimLocationText.Name = "mSimLocationText";
            this.mSimLocationText.Size = new System.Drawing.Size(185, 20);
            this.mSimLocationText.TabIndex = 20;
            this.mSimLocationText.Text = "enhsim.exe";
            // 
            // mSimPathBrowseButton
            // 
            this.mSimPathBrowseButton.Location = new System.Drawing.Point(207, 40);
            this.mSimPathBrowseButton.Name = "mSimPathBrowseButton";
            this.mSimPathBrowseButton.Size = new System.Drawing.Size(25, 20);
            this.mSimPathBrowseButton.TabIndex = 21;
            this.mSimPathBrowseButton.Text = "...";
            this.mSimPathBrowseButton.UseVisualStyleBackColor = true;
            this.mSimPathBrowseButton.Click += new System.EventHandler(this.mSimPathBrowseButton_Click);
            // 
            // groupBox22
            // 
            groupBox22.Controls.Add(label117);
            groupBox22.Controls.Add(this.cb_profession_buff);
            groupBox22.Controls.Add(label30);
            groupBox22.Controls.Add(this.cb_armor_type_bonus);
            groupBox22.Controls.Add(this.cb_mixology);
            groupBox22.Controls.Add(label15);
            groupBox22.Controls.Add(this.cb_water_shield);
            groupBox22.Controls.Add(label115);
            groupBox22.Controls.Add(this.cb_replenishment);
            groupBox22.Controls.Add(label114);
            groupBox22.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            groupBox22.Location = new System.Drawing.Point(282, 141);
            groupBox22.Name = "groupBox22";
            groupBox22.Size = new System.Drawing.Size(240, 132);
            groupBox22.TabIndex = 12;
            groupBox22.TabStop = false;
            groupBox22.Text = "Misc Buffs";
            // 
            // label117
            // 
            label117.AutoSize = true;
            label117.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label117.Location = new System.Drawing.Point(7, 109);
            label117.Name = "label117";
            label117.Size = new System.Drawing.Size(59, 14);
            label117.TabIndex = 133;
            label117.Text = "Profession";
            // 
            // cb_profession_buff
            // 
            this.cb_profession_buff.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_profession_buff.FormattingEnabled = true;
            this.cb_profession_buff.Items.AddRange(new object[] {
            "-",
            "Lifeblood Rank 8",
            "Lifeblood Rank 7"});
            this.cb_profession_buff.Location = new System.Drawing.Point(84, 106);
            this.cb_profession_buff.Name = "cb_profession_buff";
            this.cb_profession_buff.Size = new System.Drawing.Size(150, 22);
            this.cb_profession_buff.TabIndex = 24;
            this.cb_profession_buff.Text = "-";
            // 
            // label30
            // 
            label30.AutoSize = true;
            label30.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label30.Location = new System.Drawing.Point(7, 85);
            label30.Name = "label30";
            label30.Size = new System.Drawing.Size(98, 14);
            label30.TabIndex = 137;
            label30.Text = "Armor Type Bonus";
            this.mToolTip.SetToolTip(label30, "If you are wearing all mail gear, this wil give you a 5%\r\nbuff to your main stat," +
        " either agility or intellect.");
            // 
            // cb_armor_type_bonus
            // 
            this.cb_armor_type_bonus.AutoSize = true;
            this.cb_armor_type_bonus.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_armor_type_bonus.Location = new System.Drawing.Point(173, 86);
            this.cb_armor_type_bonus.Name = "cb_armor_type_bonus";
            this.cb_armor_type_bonus.Size = new System.Drawing.Size(15, 14);
            this.cb_armor_type_bonus.TabIndex = 23;
            this.mToolTip.SetToolTip(this.cb_armor_type_bonus, "Wearing all mail gear will give you a stat bonus.  Primary enhancement specs gain" +
        "ing 5% more agility and elemental gaining 5% more intellect. ");
            this.cb_armor_type_bonus.UseVisualStyleBackColor = true;
            // 
            // cb_mixology
            // 
            this.cb_mixology.AutoSize = true;
            this.cb_mixology.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_mixology.Location = new System.Drawing.Point(173, 66);
            this.cb_mixology.Name = "cb_mixology";
            this.cb_mixology.Size = new System.Drawing.Size(15, 14);
            this.cb_mixology.TabIndex = 22;
            this.cb_mixology.UseVisualStyleBackColor = true;
            // 
            // cb_water_shield
            // 
            this.cb_water_shield.AutoSize = true;
            this.cb_water_shield.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_water_shield.Location = new System.Drawing.Point(173, 46);
            this.cb_water_shield.Name = "cb_water_shield";
            this.cb_water_shield.Size = new System.Drawing.Size(15, 14);
            this.cb_water_shield.TabIndex = 21;
            this.cb_water_shield.UseVisualStyleBackColor = true;
            this.cb_water_shield.CheckStateChanged += new System.EventHandler(this.cb_water_shield_CheckedChanged);
            // 
            // label115
            // 
            label115.AutoSize = true;
            label115.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label115.Location = new System.Drawing.Point(7, 45);
            label115.Name = "label115";
            label115.Size = new System.Drawing.Size(68, 14);
            label115.TabIndex = 125;
            label115.Text = "Water Shield";
            // 
            // cb_replenishment
            // 
            this.cb_replenishment.AutoSize = true;
            this.cb_replenishment.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_replenishment.Location = new System.Drawing.Point(173, 26);
            this.cb_replenishment.Name = "cb_replenishment";
            this.cb_replenishment.Size = new System.Drawing.Size(15, 14);
            this.cb_replenishment.TabIndex = 20;
            this.cb_replenishment.UseVisualStyleBackColor = true;
            // 
            // label114
            // 
            label114.AutoSize = true;
            label114.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label114.Location = new System.Drawing.Point(7, 25);
            label114.Name = "label114";
            label114.Size = new System.Drawing.Size(77, 14);
            label114.TabIndex = 123;
            label114.Text = "Replenishment";
            this.mToolTip.SetToolTip(label114, "Revitalize, Enduring Winter, Communion, Vampiric Touch, Soul Leech");
            // 
            // label72
            // 
            label72.AutoSize = true;
            label72.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label72.Location = new System.Drawing.Point(7, 102);
            label72.Name = "label72";
            label72.Size = new System.Drawing.Size(68, 14);
            label72.TabIndex = 90;
            label72.Text = "Haste Rating";
            // 
            // label71
            // 
            label71.AutoSize = true;
            label71.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label71.Location = new System.Drawing.Point(7, 82);
            label71.Name = "label71";
            label71.Size = new System.Drawing.Size(85, 14);
            label71.TabIndex = 89;
            label71.Text = "Expertise Rating";
            // 
            // label70
            // 
            label70.AutoSize = true;
            label70.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label70.Location = new System.Drawing.Point(7, 62);
            label70.Name = "label70";
            label70.Size = new System.Drawing.Size(52, 14);
            label70.TabIndex = 88;
            label70.Text = "Hit Rating";
            // 
            // label68
            // 
            label68.AutoSize = true;
            label68.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label68.Location = new System.Drawing.Point(7, 22);
            label68.Name = "label68";
            label68.Size = new System.Drawing.Size(73, 14);
            label68.TabIndex = 86;
            label68.Text = "Attack Power";
            // 
            // label69
            // 
            label69.AutoSize = true;
            label69.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label69.Location = new System.Drawing.Point(7, 43);
            label69.Name = "label69";
            label69.Size = new System.Drawing.Size(56, 14);
            label69.TabIndex = 87;
            label69.Text = "Crit Rating";
            // 
            // label153
            // 
            label153.AutoSize = true;
            label153.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label153.Location = new System.Drawing.Point(7, 23);
            label153.Name = "label153";
            label153.Size = new System.Drawing.Size(104, 14);
            label153.TabIndex = 87;
            label153.Text = "Precision (decimals)";
            // 
            // label102
            // 
            label102.AutoSize = true;
            label102.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label102.Location = new System.Drawing.Point(7, 43);
            label102.Name = "label102";
            label102.Size = new System.Drawing.Size(54, 14);
            label102.TabIndex = 85;
            label102.Text = "Base Stat";
            // 
            // groupBox25
            // 
            groupBox25.Controls.Add(label89);
            groupBox25.Controls.Add(this.nud_cast_searing_only_with_ticks_left);
            groupBox25.Controls.Add(this.nud_cast_magma_only_with_ticks_left);
            groupBox25.Controls.Add(label125);
            groupBox25.Controls.Add(this.nud_cast_fs_only_if_dots_left);
            groupBox25.Controls.Add(label80);
            groupBox25.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            groupBox25.Location = new System.Drawing.Point(15, 91);
            groupBox25.Name = "groupBox25";
            groupBox25.Size = new System.Drawing.Size(222, 92);
            groupBox25.TabIndex = 11;
            groupBox25.TabStop = false;
            groupBox25.Text = "Refresh Options";
            this.mToolTip.SetToolTip(groupBox25, "You can\'t use same type of glyph in multiple slots.");
            // 
            // label89
            // 
            label89.AutoSize = true;
            label89.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label89.Location = new System.Drawing.Point(7, 63);
            label89.Name = "label89";
            label89.Size = new System.Drawing.Size(120, 14);
            label89.TabIndex = 129;
            label89.Text = "Cast ST only if ticks left";
            this.mToolTip.SetToolTip(label89, "Cast Searing Totem only if there are less than x ticks left");
            // 
            // nud_cast_searing_only_with_ticks_left
            // 
            this.nud_cast_searing_only_with_ticks_left.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.nud_cast_searing_only_with_ticks_left.Location = new System.Drawing.Point(171, 61);
            this.nud_cast_searing_only_with_ticks_left.Maximum = new decimal(new int[] {
            9,
            0,
            0,
            0});
            this.nud_cast_searing_only_with_ticks_left.Name = "nud_cast_searing_only_with_ticks_left";
            this.nud_cast_searing_only_with_ticks_left.Size = new System.Drawing.Size(38, 20);
            this.nud_cast_searing_only_with_ticks_left.TabIndex = 22;
            this.nud_cast_searing_only_with_ticks_left.Value = new decimal(new int[] {
            1,
            0,
            0,
            0});
            // 
            // nud_cast_magma_only_with_ticks_left
            // 
            this.nud_cast_magma_only_with_ticks_left.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.nud_cast_magma_only_with_ticks_left.Location = new System.Drawing.Point(171, 41);
            this.nud_cast_magma_only_with_ticks_left.Maximum = new decimal(new int[] {
            9,
            0,
            0,
            0});
            this.nud_cast_magma_only_with_ticks_left.Name = "nud_cast_magma_only_with_ticks_left";
            this.nud_cast_magma_only_with_ticks_left.Size = new System.Drawing.Size(38, 20);
            this.nud_cast_magma_only_with_ticks_left.TabIndex = 21;
            this.nud_cast_magma_only_with_ticks_left.Value = new decimal(new int[] {
            2,
            0,
            0,
            0});
            // 
            // label125
            // 
            label125.AutoSize = true;
            label125.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label125.Location = new System.Drawing.Point(7, 43);
            label125.Name = "label125";
            label125.Size = new System.Drawing.Size(121, 14);
            label125.TabIndex = 127;
            label125.Text = "Cast MT only if ticks left";
            this.mToolTip.SetToolTip(label125, "Cast Magma Totem only if there are less than x ticks left");
            // 
            // nud_cast_fs_only_if_dots_left
            // 
            this.nud_cast_fs_only_if_dots_left.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.nud_cast_fs_only_if_dots_left.Location = new System.Drawing.Point(171, 21);
            this.nud_cast_fs_only_if_dots_left.Maximum = new decimal(new int[] {
            6,
            0,
            0,
            0});
            this.nud_cast_fs_only_if_dots_left.Name = "nud_cast_fs_only_if_dots_left";
            this.nud_cast_fs_only_if_dots_left.Size = new System.Drawing.Size(38, 20);
            this.nud_cast_fs_only_if_dots_left.TabIndex = 20;
            // 
            // label80
            // 
            label80.AutoSize = true;
            label80.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label80.Location = new System.Drawing.Point(7, 23);
            label80.Name = "label80";
            label80.Size = new System.Drawing.Size(119, 14);
            label80.TabIndex = 123;
            label80.Text = "Cast FS only if dots left";
            this.mToolTip.SetToolTip(label80, "maximum Flame Shock dot ticks left to cast Flame Shock");
            // 
            // groupBox27
            // 
            groupBox27.Controls.Add(this.cb_oh_auto_attack);
            groupBox27.Controls.Add(label103);
            groupBox27.Controls.Add(this.cb_mh_auto_attack);
            groupBox27.Controls.Add(label104);
            groupBox27.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            groupBox27.Location = new System.Drawing.Point(15, 16);
            groupBox27.Name = "groupBox27";
            groupBox27.Size = new System.Drawing.Size(222, 67);
            groupBox27.TabIndex = 10;
            groupBox27.TabStop = false;
            groupBox27.Text = "Auto Attack";
            this.mToolTip.SetToolTip(groupBox27, "You can\'t use same type of glyph in multiple slots.");
            // 
            // cb_oh_auto_attack
            // 
            this.cb_oh_auto_attack.AutoSize = true;
            this.cb_oh_auto_attack.Checked = true;
            this.cb_oh_auto_attack.CheckState = System.Windows.Forms.CheckState.Checked;
            this.cb_oh_auto_attack.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_oh_auto_attack.Location = new System.Drawing.Point(171, 44);
            this.cb_oh_auto_attack.Name = "cb_oh_auto_attack";
            this.cb_oh_auto_attack.Size = new System.Drawing.Size(15, 14);
            this.cb_oh_auto_attack.TabIndex = 21;
            this.cb_oh_auto_attack.UseVisualStyleBackColor = true;
            // 
            // cb_mh_auto_attack
            // 
            this.cb_mh_auto_attack.AutoSize = true;
            this.cb_mh_auto_attack.Checked = true;
            this.cb_mh_auto_attack.CheckState = System.Windows.Forms.CheckState.Checked;
            this.cb_mh_auto_attack.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_mh_auto_attack.Location = new System.Drawing.Point(171, 24);
            this.cb_mh_auto_attack.Name = "cb_mh_auto_attack";
            this.cb_mh_auto_attack.Size = new System.Drawing.Size(15, 14);
            this.cb_mh_auto_attack.TabIndex = 20;
            this.cb_mh_auto_attack.UseVisualStyleBackColor = true;
            // 
            // groupBox28
            // 
            groupBox28.Controls.Add(this.mCastSRonCooldown);
            groupBox28.Controls.Add(label112);
            groupBox28.Controls.Add(label123);
            groupBox28.Controls.Add(this.tb_cast_sr_only_if_mana_left);
            groupBox28.Controls.Add(label111);
            groupBox28.Controls.Add(this.tb_use_mana_potion_if_mana_left);
            groupBox28.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            groupBox28.Location = new System.Drawing.Point(15, 189);
            groupBox28.Name = "groupBox28";
            groupBox28.Size = new System.Drawing.Size(222, 85);
            groupBox28.TabIndex = 12;
            groupBox28.TabStop = false;
            groupBox28.Text = "Mana Options";
            this.mToolTip.SetToolTip(groupBox28, "You can\'t use same type of glyph in multiple slots.");
            // 
            // mCastSRonCooldown
            // 
            this.mCastSRonCooldown.AutoSize = true;
            this.mCastSRonCooldown.Checked = true;
            this.mCastSRonCooldown.CheckState = System.Windows.Forms.CheckState.Checked;
            this.mCastSRonCooldown.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mCastSRonCooldown.Location = new System.Drawing.Point(171, 63);
            this.mCastSRonCooldown.Name = "mCastSRonCooldown";
            this.mCastSRonCooldown.Size = new System.Drawing.Size(15, 14);
            this.mCastSRonCooldown.TabIndex = 22;
            this.mCastSRonCooldown.UseVisualStyleBackColor = true;
            // 
            // tb_cast_sr_only_if_mana_left
            // 
            this.tb_cast_sr_only_if_mana_left.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_cast_sr_only_if_mana_left.Location = new System.Drawing.Point(171, 20);
            this.tb_cast_sr_only_if_mana_left.Name = "tb_cast_sr_only_if_mana_left";
            this.tb_cast_sr_only_if_mana_left.Size = new System.Drawing.Size(38, 20);
            this.tb_cast_sr_only_if_mana_left.TabIndex = 20;
            this.tb_cast_sr_only_if_mana_left.Text = "750";
            // 
            // tb_use_mana_potion_if_mana_left
            // 
            this.tb_use_mana_potion_if_mana_left.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_use_mana_potion_if_mana_left.Location = new System.Drawing.Point(171, 40);
            this.tb_use_mana_potion_if_mana_left.Name = "tb_use_mana_potion_if_mana_left";
            this.tb_use_mana_potion_if_mana_left.Size = new System.Drawing.Size(38, 20);
            this.tb_use_mana_potion_if_mana_left.TabIndex = 21;
            this.tb_use_mana_potion_if_mana_left.Text = "3000";
            // 
            // groupBox5
            // 
            groupBox5.Controls.Add(this.nud_use_potion_before_combat);
            groupBox5.Controls.Add(label116);
            groupBox5.Controls.Add(this.cb_bloodlust);
            groupBox5.Controls.Add(label160);
            groupBox5.Controls.Add(this.cb_always_bloodlust_sw);
            groupBox5.Controls.Add(label88);
            groupBox5.Controls.Add(this.cb_cast_lvb_only_if_fs_active);
            groupBox5.Controls.Add(label78);
            groupBox5.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            groupBox5.Location = new System.Drawing.Point(15, 280);
            groupBox5.Name = "groupBox5";
            groupBox5.Size = new System.Drawing.Size(226, 110);
            groupBox5.TabIndex = 13;
            groupBox5.TabStop = false;
            groupBox5.Text = "Misc Options";
            // 
            // nud_use_potion_before_combat
            // 
            this.nud_use_potion_before_combat.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.nud_use_potion_before_combat.Location = new System.Drawing.Point(176, 82);
            this.nud_use_potion_before_combat.Maximum = new decimal(new int[] {
            10,
            0,
            0,
            0});
            this.nud_use_potion_before_combat.Name = "nud_use_potion_before_combat";
            this.nud_use_potion_before_combat.Size = new System.Drawing.Size(38, 20);
            this.nud_use_potion_before_combat.TabIndex = 23;
            // 
            // label116
            // 
            label116.AutoSize = true;
            label116.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label116.Location = new System.Drawing.Point(7, 85);
            label116.Name = "label116";
            label116.Size = new System.Drawing.Size(167, 14);
            label116.TabIndex = 159;
            label116.Text = "Use potion # secs before combat";
            this.mToolTip.SetToolTip(label116, resources.GetString("label116.ToolTip"));
            // 
            // cb_bloodlust
            // 
            this.cb_bloodlust.AutoSize = true;
            this.cb_bloodlust.Checked = true;
            this.cb_bloodlust.CheckState = System.Windows.Forms.CheckState.Checked;
            this.cb_bloodlust.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_bloodlust.Location = new System.Drawing.Point(176, 26);
            this.cb_bloodlust.Name = "cb_bloodlust";
            this.cb_bloodlust.Size = new System.Drawing.Size(15, 14);
            this.cb_bloodlust.TabIndex = 20;
            this.cb_bloodlust.UseVisualStyleBackColor = true;
            this.cb_bloodlust.CheckedChanged += new System.EventHandler(this.cb_Bloodlust_CheckedChanged);
            // 
            // label160
            // 
            label160.AutoSize = true;
            label160.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label160.Location = new System.Drawing.Point(7, 25);
            label160.Name = "label160";
            label160.Size = new System.Drawing.Size(73, 14);
            label160.TabIndex = 157;
            label160.Text = "Use Bloodlust";
            // 
            // cb_always_bloodlust_sw
            // 
            this.cb_always_bloodlust_sw.AutoSize = true;
            this.cb_always_bloodlust_sw.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_always_bloodlust_sw.Location = new System.Drawing.Point(176, 46);
            this.cb_always_bloodlust_sw.Name = "cb_always_bloodlust_sw";
            this.cb_always_bloodlust_sw.Size = new System.Drawing.Size(15, 14);
            this.cb_always_bloodlust_sw.TabIndex = 21;
            this.cb_always_bloodlust_sw.UseVisualStyleBackColor = true;
            // 
            // label88
            // 
            label88.AutoSize = true;
            label88.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label88.Location = new System.Drawing.Point(7, 45);
            label88.Name = "label88";
            label88.Size = new System.Drawing.Size(167, 14);
            label88.TabIndex = 156;
            label88.Text = "Bloodlust wolves on all summons";
            // 
            // cb_cast_lvb_only_if_fs_active
            // 
            this.cb_cast_lvb_only_if_fs_active.AutoSize = true;
            this.cb_cast_lvb_only_if_fs_active.Checked = true;
            this.cb_cast_lvb_only_if_fs_active.CheckState = System.Windows.Forms.CheckState.Checked;
            this.cb_cast_lvb_only_if_fs_active.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_cast_lvb_only_if_fs_active.Location = new System.Drawing.Point(176, 66);
            this.cb_cast_lvb_only_if_fs_active.Name = "cb_cast_lvb_only_if_fs_active";
            this.cb_cast_lvb_only_if_fs_active.Size = new System.Drawing.Size(15, 14);
            this.cb_cast_lvb_only_if_fs_active.TabIndex = 22;
            this.cb_cast_lvb_only_if_fs_active.UseVisualStyleBackColor = true;
            // 
            // label78
            // 
            label78.AutoSize = true;
            label78.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label78.Location = new System.Drawing.Point(7, 65);
            label78.Name = "label78";
            label78.Size = new System.Drawing.Size(131, 14);
            label78.TabIndex = 99;
            label78.Text = "Cast LvB only if FS active";
            // 
            // label73
            // 
            label73.AutoSize = true;
            label73.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label73.Location = new System.Drawing.Point(7, 122);
            label73.Name = "label73";
            label73.Size = new System.Drawing.Size(79, 14);
            label73.TabIndex = 91;
            label73.Text = "Mastery Rating";
            // 
            // label23
            // 
            label23.AutoSize = true;
            label23.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label23.Location = new System.Drawing.Point(180, 122);
            label23.Name = "label23";
            label23.Size = new System.Drawing.Size(43, 14);
            label23.TabIndex = 98;
            label23.Text = "Intellect";
            // 
            // label41
            // 
            label41.AutoSize = true;
            label41.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label41.Location = new System.Drawing.Point(350, 22);
            label41.Name = "label41";
            label41.Size = new System.Drawing.Size(36, 14);
            label41.TabIndex = 99;
            label41.Text = "Agility";
            // 
            // label76
            // 
            label76.AutoSize = true;
            label76.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label76.Location = new System.Drawing.Point(350, 43);
            label76.Name = "label76";
            label76.Size = new System.Drawing.Size(48, 14);
            label76.TabIndex = 101;
            label76.Text = "Strength";
            // 
            // label105
            // 
            label105.AutoSize = true;
            label105.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label105.Location = new System.Drawing.Point(7, 221);
            label105.Name = "label105";
            label105.Size = new System.Drawing.Size(91, 14);
            label105.TabIndex = 118;
            label105.Text = "Weapon Set Proc";
            // 
            // cb_spell_damage_debuff
            // 
            this.cb_spell_damage_debuff.AutoSize = true;
            this.cb_spell_damage_debuff.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_spell_damage_debuff.Location = new System.Drawing.Point(17, 62);
            this.cb_spell_damage_debuff.Name = "cb_spell_damage_debuff";
            this.cb_spell_damage_debuff.Size = new System.Drawing.Size(127, 18);
            this.cb_spell_damage_debuff.TabIndex = 34;
            this.cb_spell_damage_debuff.Text = "Spell Damage Debuff";
            this.mToolTip.SetToolTip(this.cb_spell_damage_debuff, "Ebon Plaguebringer, Earth and Moon, Master Poisoner, Curse of Elements, Hunter Pe" +
        "t (Dragonhawk, Wind Serpent)");
            this.cb_spell_damage_debuff.UseVisualStyleBackColor = true;
            this.cb_spell_damage_debuff.CheckedChanged += new System.EventHandler(this.cb_spell_damage_debuff_CheckedChanged);
            // 
            // tb_spell_damage_debuff
            // 
            this.tb_spell_damage_debuff.Enabled = false;
            this.tb_spell_damage_debuff.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_spell_damage_debuff.Location = new System.Drawing.Point(187, 60);
            this.tb_spell_damage_debuff.Name = "tb_spell_damage_debuff";
            this.tb_spell_damage_debuff.Size = new System.Drawing.Size(38, 20);
            this.tb_spell_damage_debuff.TabIndex = 35;
            this.tb_spell_damage_debuff.Text = "8.0";
            // 
            // cb_spell_crit_chance_debuff
            // 
            this.cb_spell_crit_chance_debuff.AutoSize = true;
            this.cb_spell_crit_chance_debuff.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_spell_crit_chance_debuff.Location = new System.Drawing.Point(17, 82);
            this.cb_spell_crit_chance_debuff.Name = "cb_spell_crit_chance_debuff";
            this.cb_spell_crit_chance_debuff.Size = new System.Drawing.Size(144, 18);
            this.cb_spell_crit_chance_debuff.TabIndex = 32;
            this.cb_spell_crit_chance_debuff.Text = "Spell Crit Chance Debuff";
            this.mToolTip.SetToolTip(this.cb_spell_crit_chance_debuff, "Critical Mass, Shadow and Flame");
            this.cb_spell_crit_chance_debuff.UseVisualStyleBackColor = true;
            this.cb_spell_crit_chance_debuff.CheckedChanged += new System.EventHandler(this.cb_spell_crit_chance_debuff_CheckedChanged);
            // 
            // tb_spell_crit_chance_debuff
            // 
            this.tb_spell_crit_chance_debuff.Enabled = false;
            this.tb_spell_crit_chance_debuff.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_spell_crit_chance_debuff.Location = new System.Drawing.Point(187, 80);
            this.tb_spell_crit_chance_debuff.Name = "tb_spell_crit_chance_debuff";
            this.tb_spell_crit_chance_debuff.Size = new System.Drawing.Size(38, 20);
            this.tb_spell_crit_chance_debuff.TabIndex = 33;
            this.tb_spell_crit_chance_debuff.Text = "5.0";
            // 
            // cb_physical_vulnerability_debuff
            // 
            this.cb_physical_vulnerability_debuff.AutoSize = true;
            this.cb_physical_vulnerability_debuff.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_physical_vulnerability_debuff.Location = new System.Drawing.Point(17, 42);
            this.cb_physical_vulnerability_debuff.Name = "cb_physical_vulnerability_debuff";
            this.cb_physical_vulnerability_debuff.Size = new System.Drawing.Size(164, 18);
            this.cb_physical_vulnerability_debuff.TabIndex = 22;
            this.cb_physical_vulnerability_debuff.Text = "Physical Vulnerability Debuff";
            this.mToolTip.SetToolTip(this.cb_physical_vulnerability_debuff, "Brittle Bones, Savage Combat, Blood Frenzy, Hunter Pet (Ravager, Worm)");
            this.cb_physical_vulnerability_debuff.UseVisualStyleBackColor = true;
            this.cb_physical_vulnerability_debuff.CheckedChanged += new System.EventHandler(this.cb_physical_vulnerability_debuff_CheckedChanged);
            // 
            // tb_physical_vulnerability_debuff
            // 
            this.tb_physical_vulnerability_debuff.Enabled = false;
            this.tb_physical_vulnerability_debuff.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_physical_vulnerability_debuff.Location = new System.Drawing.Point(187, 40);
            this.tb_physical_vulnerability_debuff.Name = "tb_physical_vulnerability_debuff";
            this.tb_physical_vulnerability_debuff.Size = new System.Drawing.Size(38, 20);
            this.tb_physical_vulnerability_debuff.TabIndex = 23;
            this.tb_physical_vulnerability_debuff.Text = "4.0";
            // 
            // cb_armor_debuff
            // 
            this.cb_armor_debuff.AutoSize = true;
            this.cb_armor_debuff.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_armor_debuff.Location = new System.Drawing.Point(17, 22);
            this.cb_armor_debuff.Name = "cb_armor_debuff";
            this.cb_armor_debuff.Size = new System.Drawing.Size(92, 18);
            this.cb_armor_debuff.TabIndex = 20;
            this.cb_armor_debuff.Text = "Armor Debuff";
            this.mToolTip.SetToolTip(this.cb_armor_debuff, "Faerie Fire, Improved Expose Armor, Sunder Armor, Hunter Pet (Raptor, Serpent)");
            this.cb_armor_debuff.UseVisualStyleBackColor = true;
            this.cb_armor_debuff.CheckedChanged += new System.EventHandler(this.cb_armor_debuff_CheckedChanged);
            // 
            // tb_armor_debuff
            // 
            this.tb_armor_debuff.Enabled = false;
            this.tb_armor_debuff.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_armor_debuff.Location = new System.Drawing.Point(187, 20);
            this.tb_armor_debuff.Name = "tb_armor_debuff";
            this.tb_armor_debuff.Size = new System.Drawing.Size(38, 20);
            this.tb_armor_debuff.TabIndex = 21;
            this.tb_armor_debuff.Text = "12.0";
            // 
            // label83
            // 
            this.label83.Location = new System.Drawing.Point(0, 0);
            this.label83.Name = "label83";
            this.label83.Size = new System.Drawing.Size(100, 23);
            this.label83.TabIndex = 0;
            // 
            // cb_primary_talent
            // 
            this.cb_primary_talent.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_primary_talent.FormattingEnabled = true;
            this.cb_primary_talent.Items.AddRange(new object[] {
            "-",
            "enhancement",
            "elemental"});
            this.cb_primary_talent.Location = new System.Drawing.Point(103, 16);
            this.cb_primary_talent.Name = "cb_primary_talent";
            this.cb_primary_talent.Size = new System.Drawing.Size(121, 22);
            this.cb_primary_talent.TabIndex = 10;
            this.cb_primary_talent.Text = "-";
            this.cb_primary_talent.SelectedIndexChanged += new System.EventHandler(this.cb_primary_talent_SelectedIndexChanged);
            // 
            // mMainMenu
            // 
            this.mMainMenu.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
            this.mMainMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.mFileToolStripMenuItem,
            this.linksToolStripMenuItem});
            this.mMainMenu.Location = new System.Drawing.Point(0, 0);
            this.mMainMenu.Name = "mMainMenu";
            this.mMainMenu.Size = new System.Drawing.Size(1003, 24);
            this.mMainMenu.TabIndex = 88;
            this.mMainMenu.Text = "menuStrip1";
            // 
            // mFileToolStripMenuItem
            // 
            this.mFileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.mLoadToolStripMenuItem,
            this.mSaveToolStripMenuItem,
            this.mSaveAsToolStripMenuItem,
            this.toolStripMenuItem2,
            this.openBossFileToolStripMenuItem,
            this.saveBossFileAsToolStripMenuItem,
            this.toolStripMenuItem3,
            this.mExitToolStripMenuItem});
            this.mFileToolStripMenuItem.Name = "mFileToolStripMenuItem";
            this.mFileToolStripMenuItem.Size = new System.Drawing.Size(35, 20);
            this.mFileToolStripMenuItem.Text = "&File";
            // 
            // mLoadToolStripMenuItem
            // 
            this.mLoadToolStripMenuItem.Name = "mLoadToolStripMenuItem";
            this.mLoadToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
            this.mLoadToolStripMenuItem.Size = new System.Drawing.Size(168, 22);
            this.mLoadToolStripMenuItem.Text = "&Open";
            this.mLoadToolStripMenuItem.Click += new System.EventHandler(this.mOpenToolStripMenuItem_Click);
            // 
            // mSaveToolStripMenuItem
            // 
            this.mSaveToolStripMenuItem.Name = "mSaveToolStripMenuItem";
            this.mSaveToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
            this.mSaveToolStripMenuItem.Size = new System.Drawing.Size(168, 22);
            this.mSaveToolStripMenuItem.Text = "&Save";
            this.mSaveToolStripMenuItem.Click += new System.EventHandler(this.mSaveToolStripMenuItem_Click);
            // 
            // mSaveAsToolStripMenuItem
            // 
            this.mSaveAsToolStripMenuItem.Name = "mSaveAsToolStripMenuItem";
            this.mSaveAsToolStripMenuItem.Size = new System.Drawing.Size(168, 22);
            this.mSaveAsToolStripMenuItem.Text = "Save &As";
            this.mSaveAsToolStripMenuItem.Click += new System.EventHandler(this.mSaveAsToolStripMenuItem_Click);
            // 
            // toolStripMenuItem2
            // 
            this.toolStripMenuItem2.Name = "toolStripMenuItem2";
            this.toolStripMenuItem2.Size = new System.Drawing.Size(165, 6);
            // 
            // openBossFileToolStripMenuItem
            // 
            this.openBossFileToolStripMenuItem.Name = "openBossFileToolStripMenuItem";
            this.openBossFileToolStripMenuItem.Size = new System.Drawing.Size(168, 22);
            this.openBossFileToolStripMenuItem.Text = "Open Boss File";
            this.openBossFileToolStripMenuItem.Click += new System.EventHandler(this.openBossFileToolStripMenuItem_Click);
            // 
            // saveBossFileAsToolStripMenuItem
            // 
            this.saveBossFileAsToolStripMenuItem.Name = "saveBossFileAsToolStripMenuItem";
            this.saveBossFileAsToolStripMenuItem.Size = new System.Drawing.Size(168, 22);
            this.saveBossFileAsToolStripMenuItem.Text = "Save Boss File As";
            this.saveBossFileAsToolStripMenuItem.Click += new System.EventHandler(this.saveBossFileAsToolStripMenuItem_Click);
            // 
            // toolStripMenuItem3
            // 
            this.toolStripMenuItem3.Name = "toolStripMenuItem3";
            this.toolStripMenuItem3.Size = new System.Drawing.Size(165, 6);
            // 
            // mExitToolStripMenuItem
            // 
            this.mExitToolStripMenuItem.Name = "mExitToolStripMenuItem";
            this.mExitToolStripMenuItem.Size = new System.Drawing.Size(168, 22);
            this.mExitToolStripMenuItem.Text = "E&xit";
            this.mExitToolStripMenuItem.Click += new System.EventHandler(this.mExitToolStripMenuItem_Click);
            // 
            // linksToolStripMenuItem
            // 
            this.linksToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.enhSimHomepageToolStripMenuItem,
            this.enhSimWikiToolStripMenuItem,
            this.enhSimIssueTrackerToolStripMenuItem,
            this.toolStripMenuItem1,
            this.rawrHomepageToolStripMenuItem,
            this.eJForumEnhSimThreadToolStripMenuItem});
            this.linksToolStripMenuItem.Name = "linksToolStripMenuItem";
            this.linksToolStripMenuItem.Size = new System.Drawing.Size(42, 20);
            this.linksToolStripMenuItem.Text = "Links";
            // 
            // enhSimHomepageToolStripMenuItem
            // 
            this.enhSimHomepageToolStripMenuItem.Name = "enhSimHomepageToolStripMenuItem";
            this.enhSimHomepageToolStripMenuItem.Size = new System.Drawing.Size(203, 22);
            this.enhSimHomepageToolStripMenuItem.Text = "EnhSim Homepage";
            this.enhSimHomepageToolStripMenuItem.Click += new System.EventHandler(this.HandleEnhSimHomepageClick);
            // 
            // enhSimWikiToolStripMenuItem
            // 
            this.enhSimWikiToolStripMenuItem.Name = "enhSimWikiToolStripMenuItem";
            this.enhSimWikiToolStripMenuItem.Size = new System.Drawing.Size(203, 22);
            this.enhSimWikiToolStripMenuItem.Text = "EnhSim Docs";
            this.enhSimWikiToolStripMenuItem.Click += new System.EventHandler(this.HandleEnhSimDocsClicked);
            // 
            // enhSimIssueTrackerToolStripMenuItem
            // 
            this.enhSimIssueTrackerToolStripMenuItem.Name = "enhSimIssueTrackerToolStripMenuItem";
            this.enhSimIssueTrackerToolStripMenuItem.Size = new System.Drawing.Size(203, 22);
            this.enhSimIssueTrackerToolStripMenuItem.Text = "EnhSim Issue Tracker";
            this.enhSimIssueTrackerToolStripMenuItem.Click += new System.EventHandler(this.HandleEnhSimIssuesClicked);
            // 
            // toolStripMenuItem1
            // 
            this.toolStripMenuItem1.Name = "toolStripMenuItem1";
            this.toolStripMenuItem1.Size = new System.Drawing.Size(200, 6);
            // 
            // rawrHomepageToolStripMenuItem
            // 
            this.rawrHomepageToolStripMenuItem.Name = "rawrHomepageToolStripMenuItem";
            this.rawrHomepageToolStripMenuItem.Size = new System.Drawing.Size(203, 22);
            this.rawrHomepageToolStripMenuItem.Text = "Rawr Homepage";
            this.rawrHomepageToolStripMenuItem.Click += new System.EventHandler(this.rawrHomepageToolStripMenuItem_Click);
            // 
            // eJForumEnhSimThreadToolStripMenuItem
            // 
            this.eJForumEnhSimThreadToolStripMenuItem.Name = "eJForumEnhSimThreadToolStripMenuItem";
            this.eJForumEnhSimThreadToolStripMenuItem.Size = new System.Drawing.Size(203, 22);
            this.eJForumEnhSimThreadToolStripMenuItem.Text = "EJ Forum EnhSim Thread";
            this.eJForumEnhSimThreadToolStripMenuItem.Click += new System.EventHandler(this.eJForumEnhSimThreadToolStripMenuItem_Click);
            // 
            // mToolTip
            // 
            this.mToolTip.AutoPopDelay = 20000;
            this.mToolTip.InitialDelay = 500;
            this.mToolTip.ReshowDelay = 100;
            // 
            // mOpenFileDialog
            // 
            this.mOpenFileDialog.Filter = "text files|*.txt";
            this.mOpenFileDialog.FileOk += new System.ComponentModel.CancelEventHandler(this.mOpenFileDialog_FileOk);
            // 
            // mSaveFileDialog
            // 
            this.mSaveFileDialog.Filter = "text files|*.txt";
            this.mSaveFileDialog.FileOk += new System.ComponentModel.CancelEventHandler(this.mSaveFileDialog_FileOk);
            // 
            // openFileDialog2
            // 
            this.openFileDialog2.Filter = "EnhSim executable|enhsim*.exe";
            // 
            // mSimPage
            // 
            this.mSimPage.AutoScroll = true;
            this.mSimPage.BackColor = System.Drawing.SystemColors.Control;
            this.mSimPage.Controls.Add(this.btnEnhSimHomepage);
            this.mSimPage.Controls.Add(groupBox19);
            this.mSimPage.Controls.Add(this.mReportButton);
            this.mSimPage.Controls.Add(theShamanGroup);
            this.mSimPage.Controls.Add(this.mSecondaryTabs);
            this.mSimPage.Controls.Add(groupBox8);
            this.mSimPage.Controls.Add(groupBox12);
            this.mSimPage.ForeColor = System.Drawing.SystemColors.ControlText;
            this.mSimPage.Location = new System.Drawing.Point(4, 23);
            this.mSimPage.Name = "mSimPage";
            this.mSimPage.Padding = new System.Windows.Forms.Padding(3);
            this.mSimPage.Size = new System.Drawing.Size(995, 652);
            this.mSimPage.TabIndex = 0;
            this.mSimPage.Text = "Simulator";
            // 
            // btnEnhSimHomepage
            // 
            this.btnEnhSimHomepage.Location = new System.Drawing.Point(751, 448);
            this.btnEnhSimHomepage.Name = "btnEnhSimHomepage";
            this.btnEnhSimHomepage.Size = new System.Drawing.Size(109, 29);
            this.btnEnhSimHomepage.TabIndex = 5;
            this.btnEnhSimHomepage.Text = "EnhSim Homepage";
            this.btnEnhSimHomepage.UseVisualStyleBackColor = true;
            this.btnEnhSimHomepage.Click += new System.EventHandler(this.HandleEnhSimHomepageClick);
            // 
            // mReportButton
            // 
            this.mReportButton.Location = new System.Drawing.Point(867, 448);
            this.mReportButton.Name = "mReportButton";
            this.mReportButton.Size = new System.Drawing.Size(110, 29);
            this.mReportButton.TabIndex = 6;
            this.mReportButton.Text = "Report an Issue";
            this.mReportButton.UseVisualStyleBackColor = true;
            this.mReportButton.Click += new System.EventHandler(this.HandleEnhSimIssuesClicked);
            // 
            // mSecondaryTabs
            // 
            this.mSecondaryTabs.Controls.Add(this.mBossPage);
            this.mSecondaryTabs.Controls.Add(this.mProcPage);
            this.mSecondaryTabs.Controls.Add(this.mTalentPage);
            this.mSecondaryTabs.Controls.Add(this.mRotationPage);
            this.mSecondaryTabs.Controls.Add(this.mCombatParameters);
            this.mSecondaryTabs.Controls.Add(this.mBuffPage);
            this.mSecondaryTabs.Controls.Add(this.mEPPage);
            this.mSecondaryTabs.Location = new System.Drawing.Point(193, 7);
            this.mSecondaryTabs.Name = "mSecondaryTabs";
            this.mSecondaryTabs.SelectedIndex = 0;
            this.mSecondaryTabs.Size = new System.Drawing.Size(542, 470);
            this.mSecondaryTabs.TabIndex = 2;
            // 
            // mBossPage
            // 
            this.mBossPage.BackColor = System.Drawing.SystemColors.Control;
            this.mBossPage.Controls.Add(this.groupBox18);
            this.mBossPage.Controls.Add(this.groupBox17);
            this.mBossPage.Controls.Add(this.tb_fightName);
            this.mBossPage.Controls.Add(this.label168);
            this.mBossPage.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mBossPage.Location = new System.Drawing.Point(4, 23);
            this.mBossPage.Name = "mBossPage";
            this.mBossPage.Size = new System.Drawing.Size(534, 443);
            this.mBossPage.TabIndex = 5;
            this.mBossPage.Text = "Boss";
            // 
            // groupBox18
            // 
            this.groupBox18.Controls.Add(label6);
            this.groupBox18.Controls.Add(label165);
            this.groupBox18.Controls.Add(label12);
            this.groupBox18.Controls.Add(this.tb_addTargets);
            this.groupBox18.Controls.Add(label13);
            this.groupBox18.Controls.Add(label167);
            this.groupBox18.Controls.Add(this.textBox1);
            this.groupBox18.Controls.Add(this.tb_addTargetsLevel);
            this.groupBox18.Controls.Add(label14);
            this.groupBox18.Controls.Add(this.textBox2);
            this.groupBox18.Controls.Add(this.tb_addTargetPercent);
            this.groupBox18.Controls.Add(label16);
            this.groupBox18.Controls.Add(label170);
            this.groupBox18.Controls.Add(this.textBox3);
            this.groupBox18.Controls.Add(this.textBox5);
            this.groupBox18.Controls.Add(this.textBox4);
            this.groupBox18.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.groupBox18.ForeColor = System.Drawing.SystemColors.ControlText;
            this.groupBox18.Location = new System.Drawing.Point(208, 52);
            this.groupBox18.Name = "groupBox18";
            this.groupBox18.Size = new System.Drawing.Size(176, 238);
            this.groupBox18.TabIndex = 12;
            this.groupBox18.TabStop = false;
            this.groupBox18.Text = "Additional mobs";
            // 
            // tb_addTargets
            // 
            this.tb_addTargets.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_addTargets.Location = new System.Drawing.Point(129, 22);
            this.tb_addTargets.Name = "tb_addTargets";
            this.tb_addTargets.Size = new System.Drawing.Size(38, 20);
            this.tb_addTargets.TabIndex = 20;
            this.tb_addTargets.Text = "0";
            // 
            // textBox1
            // 
            this.textBox1.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.textBox1.Location = new System.Drawing.Point(128, 170);
            this.textBox1.Name = "textBox1";
            this.textBox1.Size = new System.Drawing.Size(38, 20);
            this.textBox1.TabIndex = 25;
            this.textBox1.Text = "0";
            // 
            // tb_addTargetsLevel
            // 
            this.tb_addTargetsLevel.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_addTargetsLevel.Location = new System.Drawing.Point(129, 62);
            this.tb_addTargetsLevel.Name = "tb_addTargetsLevel";
            this.tb_addTargetsLevel.Size = new System.Drawing.Size(38, 20);
            this.tb_addTargetsLevel.TabIndex = 22;
            this.tb_addTargetsLevel.Text = "0";
            // 
            // textBox2
            // 
            this.textBox2.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.textBox2.Location = new System.Drawing.Point(128, 130);
            this.textBox2.Name = "textBox2";
            this.textBox2.Size = new System.Drawing.Size(38, 20);
            this.textBox2.TabIndex = 23;
            this.textBox2.Text = "0";
            // 
            // tb_addTargetPercent
            // 
            this.tb_addTargetPercent.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_addTargetPercent.Location = new System.Drawing.Point(129, 42);
            this.tb_addTargetPercent.Name = "tb_addTargetPercent";
            this.tb_addTargetPercent.Size = new System.Drawing.Size(38, 20);
            this.tb_addTargetPercent.TabIndex = 21;
            this.tb_addTargetPercent.Text = "0.0";
            this.tb_addTargetPercent.TextChanged += new System.EventHandler(this.tb_addTargetPercent_TextChanged);
            // 
            // textBox3
            // 
            this.textBox3.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.textBox3.Location = new System.Drawing.Point(128, 190);
            this.textBox3.Name = "textBox3";
            this.textBox3.Size = new System.Drawing.Size(38, 20);
            this.textBox3.TabIndex = 26;
            this.textBox3.Text = "0";
            // 
            // textBox5
            // 
            this.textBox5.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.textBox5.Location = new System.Drawing.Point(128, 150);
            this.textBox5.Name = "textBox5";
            this.textBox5.Size = new System.Drawing.Size(38, 20);
            this.textBox5.TabIndex = 24;
            this.textBox5.Text = "0";
            // 
            // textBox4
            // 
            this.textBox4.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.textBox4.Location = new System.Drawing.Point(128, 210);
            this.textBox4.Name = "textBox4";
            this.textBox4.Size = new System.Drawing.Size(38, 20);
            this.textBox4.TabIndex = 27;
            this.textBox4.Text = "0";
            // 
            // groupBox17
            // 
            this.groupBox17.Controls.Add(label152);
            this.groupBox17.Controls.Add(label33);
            this.groupBox17.Controls.Add(label32);
            this.groupBox17.Controls.Add(this.tb_frost_resistance);
            this.groupBox17.Controls.Add(label31);
            this.groupBox17.Controls.Add(this.tb_nature_resistance);
            this.groupBox17.Controls.Add(label151);
            this.groupBox17.Controls.Add(this.tb_arcane_resistance);
            this.groupBox17.Controls.Add(this.tb_shadow_resistance);
            this.groupBox17.Controls.Add(this.tb_fire_resistance);
            this.groupBox17.Controls.Add(label36);
            this.groupBox17.Controls.Add(this.tb_glancing);
            this.groupBox17.Controls.Add(label37);
            this.groupBox17.Controls.Add(this.tb_armor);
            this.groupBox17.Controls.Add(this.tb_dodge);
            this.groupBox17.Controls.Add(label34);
            this.groupBox17.Controls.Add(label35);
            this.groupBox17.Controls.Add(label38);
            this.groupBox17.Controls.Add(this.tb_spell_miss);
            this.groupBox17.Controls.Add(this.tb_miss);
            this.groupBox17.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.groupBox17.ForeColor = System.Drawing.SystemColors.ControlText;
            this.groupBox17.Location = new System.Drawing.Point(22, 52);
            this.groupBox17.Name = "groupBox17";
            this.groupBox17.Size = new System.Drawing.Size(176, 238);
            this.groupBox17.TabIndex = 11;
            this.groupBox17.TabStop = false;
            this.groupBox17.Text = "Boss";
            // 
            // tb_frost_resistance
            // 
            this.tb_frost_resistance.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_frost_resistance.Location = new System.Drawing.Point(129, 168);
            this.tb_frost_resistance.Name = "tb_frost_resistance";
            this.tb_frost_resistance.Size = new System.Drawing.Size(38, 20);
            this.tb_frost_resistance.TabIndex = 27;
            this.tb_frost_resistance.Text = "0";
            // 
            // tb_nature_resistance
            // 
            this.tb_nature_resistance.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_nature_resistance.Location = new System.Drawing.Point(129, 128);
            this.tb_nature_resistance.Name = "tb_nature_resistance";
            this.tb_nature_resistance.Size = new System.Drawing.Size(38, 20);
            this.tb_nature_resistance.TabIndex = 25;
            this.tb_nature_resistance.Text = "0";
            // 
            // tb_arcane_resistance
            // 
            this.tb_arcane_resistance.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_arcane_resistance.Location = new System.Drawing.Point(129, 188);
            this.tb_arcane_resistance.Name = "tb_arcane_resistance";
            this.tb_arcane_resistance.Size = new System.Drawing.Size(38, 20);
            this.tb_arcane_resistance.TabIndex = 28;
            this.tb_arcane_resistance.Text = "0";
            // 
            // tb_shadow_resistance
            // 
            this.tb_shadow_resistance.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_shadow_resistance.Location = new System.Drawing.Point(129, 208);
            this.tb_shadow_resistance.Name = "tb_shadow_resistance";
            this.tb_shadow_resistance.Size = new System.Drawing.Size(38, 20);
            this.tb_shadow_resistance.TabIndex = 29;
            this.tb_shadow_resistance.Text = "0";
            // 
            // tb_fire_resistance
            // 
            this.tb_fire_resistance.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_fire_resistance.Location = new System.Drawing.Point(129, 148);
            this.tb_fire_resistance.Name = "tb_fire_resistance";
            this.tb_fire_resistance.Size = new System.Drawing.Size(38, 20);
            this.tb_fire_resistance.TabIndex = 26;
            this.tb_fire_resistance.Text = "0";
            // 
            // tb_glancing
            // 
            this.tb_glancing.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_glancing.Location = new System.Drawing.Point(130, 62);
            this.tb_glancing.Name = "tb_glancing";
            this.tb_glancing.Size = new System.Drawing.Size(38, 20);
            this.tb_glancing.TabIndex = 22;
            this.tb_glancing.Text = "24.0";
            // 
            // tb_armor
            // 
            this.tb_armor.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_armor.Location = new System.Drawing.Point(130, 82);
            this.tb_armor.Name = "tb_armor";
            this.tb_armor.Size = new System.Drawing.Size(38, 20);
            this.tb_armor.TabIndex = 23;
            this.tb_armor.Text = "10645";
            // 
            // tb_dodge
            // 
            this.tb_dodge.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_dodge.Location = new System.Drawing.Point(130, 42);
            this.tb_dodge.Name = "tb_dodge";
            this.tb_dodge.Size = new System.Drawing.Size(38, 20);
            this.tb_dodge.TabIndex = 21;
            this.tb_dodge.Text = "6.5";
            this.tb_dodge.TextChanged += new System.EventHandler(this.tb_dodge_TextChanged);
            // 
            // tb_spell_miss
            // 
            this.tb_spell_miss.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_spell_miss.Location = new System.Drawing.Point(130, 102);
            this.tb_spell_miss.Name = "tb_spell_miss";
            this.tb_spell_miss.Size = new System.Drawing.Size(38, 20);
            this.tb_spell_miss.TabIndex = 24;
            this.tb_spell_miss.Text = "17.0";
            this.tb_spell_miss.TextChanged += new System.EventHandler(this.tb_spell_miss_TextChanged);
            // 
            // tb_miss
            // 
            this.tb_miss.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_miss.Location = new System.Drawing.Point(130, 19);
            this.tb_miss.Name = "tb_miss";
            this.tb_miss.Size = new System.Drawing.Size(38, 20);
            this.tb_miss.TabIndex = 20;
            this.tb_miss.Text = "8.0";
            this.tb_miss.TextChanged += new System.EventHandler(this.tb_miss_TextChanged);
            // 
            // tb_fightName
            // 
            this.tb_fightName.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_fightName.Location = new System.Drawing.Point(85, 13);
            this.tb_fightName.Name = "tb_fightName";
            this.tb_fightName.Size = new System.Drawing.Size(299, 24);
            this.tb_fightName.TabIndex = 10;
            // 
            // label168
            // 
            this.label168.AutoSize = true;
            this.label168.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label168.Location = new System.Drawing.Point(29, 19);
            this.label168.Name = "label168";
            this.label168.Size = new System.Drawing.Size(37, 15);
            this.label168.TabIndex = 125;
            this.label168.Text = "Fight:";
            // 
            // mProcPage
            // 
            this.mProcPage.BackColor = System.Drawing.SystemColors.Control;
            this.mProcPage.Controls.Add(this.groupBox2);
            this.mProcPage.Controls.Add(this.groupBox11);
            this.mProcPage.Controls.Add(groupBox13);
            this.mProcPage.Location = new System.Drawing.Point(4, 23);
            this.mProcPage.Name = "mProcPage";
            this.mProcPage.Padding = new System.Windows.Forms.Padding(3);
            this.mProcPage.Size = new System.Drawing.Size(534, 443);
            this.mProcPage.TabIndex = 0;
            this.mProcPage.Text = "Gear Details";
            // 
            // groupBox2
            // 
            this.groupBox2.Controls.Add(label105);
            this.groupBox2.Controls.Add(this.cb_weapon_set_proc);
            this.groupBox2.Controls.Add(label24);
            this.groupBox2.Controls.Add(this.cb_trinket1);
            this.groupBox2.Controls.Add(this.cb_metagem);
            this.groupBox2.Controls.Add(label172);
            this.groupBox2.Controls.Add(label25);
            this.groupBox2.Controls.Add(this.cb_ring_proc);
            this.groupBox2.Controls.Add(label21);
            this.groupBox2.Controls.Add(label164);
            this.groupBox2.Controls.Add(this.cb_trinket2);
            this.groupBox2.Controls.Add(this.cb_cloak_enchant);
            this.groupBox2.Controls.Add(this.cb_set_bonus1);
            this.groupBox2.Controls.Add(label61);
            this.groupBox2.Controls.Add(label22);
            this.groupBox2.Controls.Add(this.cb_gloves_enchant);
            this.groupBox2.Controls.Add(this.cb_set_bonus3);
            this.groupBox2.Controls.Add(label159);
            this.groupBox2.Controls.Add(label158);
            this.groupBox2.Controls.Add(this.cb_set_bonus2);
            this.groupBox2.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.groupBox2.ForeColor = System.Drawing.SystemColors.ControlText;
            this.groupBox2.Location = new System.Drawing.Point(13, 190);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new System.Drawing.Size(334, 248);
            this.groupBox2.TabIndex = 12;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "Misc";
            // 
            // cb_weapon_set_proc
            // 
            this.cb_weapon_set_proc.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_weapon_set_proc.FormattingEnabled = true;
            this.cb_weapon_set_proc.Items.AddRange(new object[] {
            "-",
            "Agony and Torment"});
            this.cb_weapon_set_proc.Location = new System.Drawing.Point(103, 218);
            this.cb_weapon_set_proc.Name = "cb_weapon_set_proc";
            this.cb_weapon_set_proc.Size = new System.Drawing.Size(220, 22);
            this.cb_weapon_set_proc.TabIndex = 117;
            this.cb_weapon_set_proc.Text = "-";
            // 
            // cb_trinket1
            // 
            this.cb_trinket1.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_trinket1.FormattingEnabled = true;
            this.cb_trinket1.Items.AddRange(new object[] {
            "-",
            "Ancient Petrified Seed",
            "Arrow of Time",
            "Corens Chilled Chromium Coaster",
            "Darkmoon Card Hurricane",
            "Darkmoon Card Volcano",
            "Essence of the Cyclone",
            "Essence of the Cyclone Heroic",
            "Figurine Demon Panther",
            "Fluid Death",
            "Grace of the Herald",
            "Grace of the Herald Heroic",
            "Heart of the Vile",
            "Key to the Endless Chamber",
            "Key to the Endless Chamber Heroic",
            "Kiroptyric Sigil",
            "Left Eye of Rajh",
            "Left Eye of Rajh Heroic",
            "Lifebound Alchemist Stone",
            "Matrix Restabilizer",
            "Matrix Restabilizer Heroic",
            "Prestors Talisman of Machination",
            "Prestors Talisman of Machination Heroic",
            "Quicksilver Alchemist Stone",
            "Rickets Magnetic Fireball",
            "Schnottzs Medallion of Command",
            "Skardyns Grace",
            "Skardyns Grace Heroic",
            "Starcatcher Compass RF",
            "Starcatcher Compass",
            "Starcatcher Compass Heroic",
            "The Hungerer",
            "The Hungerer Heroic",
            "Tias Grace",
            "Tias Grace Heroic",
            "Unheeded Warning",
            "Unsolvable Riddle",
            "Variable Pulse Lightning Capacitor",
            "Variable Pulse Lightning Capacitor Heroic",
            "Vial of Shadows RF",
            "Vial of Shadows",
            "Vial of Shadows Heroic",
            "Vibrant Alchemist Stone",
            "Volatile Alchemist Stone",
            "Wrath of Unchaining RF",
            "Wrath of Unchaining",
            "Wrath of Unchaining Heroic",
            "Abyssal Rune",
            "Bandits Insignia",
            "Banner of Victory",
            "Blood of the Old God",
            "Charred Twilight Scale",
            "Charred Twilight Scale Heroic",
            "Comets Trail",
            "Corens Chromium Coaster",
            "Dark Matter",
            "Darkmoon Card Greatness",
            "Deathbringers Will",
            "Deathbringers Will Heroic",
            "Deaths Choice",
            "Deaths Choice Heroic",
            "Deaths Verdict",
            "Deaths Verdict Heroic",
            "Dislodged Foreign Object",
            "Dislodged Foreign Object Heroic",
            "Dying Curse",
            "Elemental Focus Stone",
            "Embrace of the Spider",
            "Fetish of Volatile Power",
            "Fetish of Volatile Power Heroic",
            "Flare of the Heavens",
            "Fury of the Five Flights",
            "Grim Toll",
            "Herkuml War Token",
            "Illustration of the Dragon Soul",
            "Mark of Norgannon",
            "Mark of Supremacy",
            "Mirror of Truth",
            "Mjolnir Runestone",
            "Muradins Spyglass",
            "Muradins Spyglass Heroic",
            "Needle Encrusted Scorpion",
            "Pyrite Infuser",
            "Reign of the Dead",
            "Reign of the Dead Heroic",
            "Reign of the Unliving",
            "Reign of the Unliving Heroic",
            "Shard of the Crystal Heart",
            "Sharpened Twilight Scale",
            "Sharpened Twilight Scale Heroic",
            "Sundial of the Exiled",
            "Talisman of Resurgence",
            "Talisman of Volatile Power",
            "Talisman of Volatile Power Heroic",
            "Tears of Bitter Anguish",
            "Tiny Abomination in a Jar",
            "Tiny Abomination in a Jar Heroic",
            "Vengeance of the Forsaken",
            "Vengeance of the Forsaken Heroic",
            "Victors Call",
            "Victors Call Heroic",
            "Whispering Fanged Skull",
            "Whispering Fanged Skull Heroic",
            "Wrathstone"});
            this.cb_trinket1.Location = new System.Drawing.Point(103, 20);
            this.cb_trinket1.Name = "cb_trinket1";
            this.cb_trinket1.Size = new System.Drawing.Size(220, 22);
            this.cb_trinket1.TabIndex = 20;
            // 
            // cb_metagem
            // 
            this.cb_metagem.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_metagem.FormattingEnabled = true;
            this.cb_metagem.Items.AddRange(new object[] {
            "-",
            "Agile Shadowspirit Diamond",
            "Burning Shadowspirit Diamond",
            "Chaotic Shadowspirit Diamond",
            "Ember Shadowspirit Diamond",
            "Reverberating Shadowspirit Diamond",
            "Chaotic Skyflare Diamond",
            "Ember Skyflare Diamond",
            "Relentless Earthsiege Diamond"});
            this.cb_metagem.Location = new System.Drawing.Point(103, 130);
            this.cb_metagem.Name = "cb_metagem";
            this.cb_metagem.Size = new System.Drawing.Size(220, 22);
            this.cb_metagem.TabIndex = 25;
            this.cb_metagem.Text = "-";
            // 
            // cb_ring_proc
            // 
            this.cb_ring_proc.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_ring_proc.FormattingEnabled = true;
            this.cb_ring_proc.Items.AddRange(new object[] {
            "-",
            "Ashen Verdict"});
            this.cb_ring_proc.Location = new System.Drawing.Point(103, 196);
            this.cb_ring_proc.Name = "cb_ring_proc";
            this.cb_ring_proc.Size = new System.Drawing.Size(220, 22);
            this.cb_ring_proc.TabIndex = 28;
            this.cb_ring_proc.Text = "-";
            // 
            // cb_trinket2
            // 
            this.cb_trinket2.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_trinket2.FormattingEnabled = true;
            this.cb_trinket2.Items.AddRange(new object[] {
            "-",
            "Ancient Petrified Seed",
            "Arrow of Time",
            "Corens Chilled Chromium Coaster",
            "Darkmoon Card Hurricane",
            "Darkmoon Card Volcano",
            "Essence of the Cyclone",
            "Essence of the Cyclone Heroic",
            "Figurine Demon Panther",
            "Fluid Death",
            "Grace of the Herald",
            "Grace of the Herald Heroic",
            "Heart of the Vile",
            "Key to the Endless Chamber",
            "Key to the Endless Chamber Heroic",
            "Kiroptyric Sigil",
            "Left Eye of Rajh",
            "Left Eye of Rajh Heroic",
            "Lifebound Alchemist Stone",
            "Matrix Restabilizer",
            "Matrix Restabilizer Heroic",
            "Prestors Talisman of Machination",
            "Prestors Talisman of Machination Heroic",
            "Quicksilver Alchemist Stone",
            "Rickets Magnetic Fireball",
            "Schnottzs Medallion of Command",
            "Skardyns Grace",
            "Skardyns Grace Heroic",
            "Starcatcher Compass RF",
            "Starcatcher Compass",
            "Starcatcher Compass Heroic",
            "The Hungerer",
            "The Hungerer Heroic",
            "Tias Grace",
            "Tias Grace Heroic",
            "Unheeded Warning",
            "Unsolvable Riddle",
            "Variable Pulse Lightning Capacitor",
            "Variable Pulse Lightning Capacitor Heroic",
            "Vial of Shadows RF",
            "Vial of Shadows",
            "Vial of Shadows Heroic",
            "Vibrant Alchemist Stone",
            "Volatile Alchemist Stone",
            "Wrath of Unchaining RF",
            "Wrath of Unchaining",
            "Wrath of Unchaining Heroic",
            "Abyssal Rune",
            "Bandits Insignia",
            "Banner of Victory",
            "Blood of the Old God",
            "Charred Twilight Scale",
            "Charred Twilight Scale Heroic",
            "Comets Trail",
            "Corens Chromium Coaster",
            "Dark Matter",
            "Darkmoon Card Greatness",
            "Deathbringers Will",
            "Deathbringers Will Heroic",
            "Deaths Choice",
            "Deaths Choice Heroic",
            "Deaths Verdict",
            "Deaths Verdict Heroic",
            "Dislodged Foreign Object",
            "Dislodged Foreign Object Heroic",
            "Dying Curse",
            "Elemental Focus Stone",
            "Embrace of the Spider",
            "Fetish of Volatile Power",
            "Fetish of Volatile Power Heroic",
            "Flare of the Heavens",
            "Fury of the Five Flights",
            "Grim Toll",
            "Herkuml War Token",
            "Illustration of the Dragon Soul",
            "Mark of Norgannon",
            "Mark of Supremacy",
            "Mirror of Truth",
            "Mjolnir Runestone",
            "Muradins Spyglass",
            "Muradins Spyglass Heroic",
            "Needle Encrusted Scorpion",
            "Pyrite Infuser",
            "Reign of the Dead",
            "Reign of the Dead Heroic",
            "Reign of the Unliving",
            "Reign of the Unliving Heroic",
            "Shard of the Crystal Heart",
            "Sharpened Twilight Scale",
            "Sharpened Twilight Scale Heroic",
            "Sundial of the Exiled",
            "Talisman of Resurgence",
            "Talisman of Volatile Power",
            "Talisman of Volatile Power Heroic",
            "Tears of Bitter Anguish",
            "Tiny Abomination in a Jar",
            "Tiny Abomination in a Jar Heroic",
            "Vengeance of the Forsaken",
            "Vengeance of the Forsaken Heroic",
            "Victors Call",
            "Victors Call Heroic",
            "Whispering Fanged Skull",
            "Whispering Fanged Skull Heroic",
            "Wrathstone"});
            this.cb_trinket2.Location = new System.Drawing.Point(103, 42);
            this.cb_trinket2.Name = "cb_trinket2";
            this.cb_trinket2.Size = new System.Drawing.Size(220, 22);
            this.cb_trinket2.TabIndex = 21;
            this.cb_trinket2.Text = "-";
            // 
            // cb_cloak_enchant
            // 
            this.cb_cloak_enchant.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_cloak_enchant.FormattingEnabled = true;
            this.cb_cloak_enchant.Items.AddRange(new object[] {
            "-",
            "Lightweave Embroidery Rank 2",
            "Lightweave Embroidery Rank 1",
            "Swordguard Embroidery Rank 2",
            "Swordguard Embroidery Rank 1"});
            this.cb_cloak_enchant.Location = new System.Drawing.Point(103, 174);
            this.cb_cloak_enchant.Name = "cb_cloak_enchant";
            this.cb_cloak_enchant.Size = new System.Drawing.Size(220, 22);
            this.cb_cloak_enchant.TabIndex = 27;
            this.cb_cloak_enchant.Text = "-";
            // 
            // cb_set_bonus1
            // 
            this.cb_set_bonus1.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_set_bonus1.FormattingEnabled = true;
            this.cb_set_bonus1.Items.AddRange(new object[] {
            "-",
            "Naxx Melee 2",
            "Naxx Melee 4",
            "Naxx Nuker 2",
            "Naxx Nuker 4",
            "Gladiators Earthshaker 4",
            "Worldbreaker Battlegear 2",
            "Worldbreaker Battlegear 4",
            "T9 Battlegear 2",
            "T9 Battlegear 4",
            "T9 Regalia 2",
            "T9 Regalia 4",
            "T10 Battlegear 2",
            "T10 Battlegear 4",
            "T11 Battlegear 2",
            "T11 Battlegear 4",
            "T12 Battlegear 2",
            "T12 Battlegear 4",
            "T13 Battlegear 2",
            "T13 Battlegear 4"});
            this.cb_set_bonus1.Location = new System.Drawing.Point(103, 64);
            this.cb_set_bonus1.Name = "cb_set_bonus1";
            this.cb_set_bonus1.Size = new System.Drawing.Size(220, 22);
            this.cb_set_bonus1.TabIndex = 22;
            this.cb_set_bonus1.Text = "-";
            this.cb_set_bonus1.TextChanged += new System.EventHandler(this.HandleSetBonusChanged);
            // 
            // cb_gloves_enchant
            // 
            this.cb_gloves_enchant.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_gloves_enchant.FormattingEnabled = true;
            this.cb_gloves_enchant.Items.AddRange(new object[] {
            "-",
            "Hand_mounted Pyro Rocket",
            "Hyperspeed Accelerators",
            "Synapse Springs",
            "Tazik Shocker"});
            this.cb_gloves_enchant.Location = new System.Drawing.Point(103, 152);
            this.cb_gloves_enchant.Name = "cb_gloves_enchant";
            this.cb_gloves_enchant.Size = new System.Drawing.Size(220, 22);
            this.cb_gloves_enchant.TabIndex = 26;
            this.cb_gloves_enchant.Text = "-";
            // 
            // cb_set_bonus3
            // 
            this.cb_set_bonus3.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_set_bonus3.FormattingEnabled = true;
            this.cb_set_bonus3.Items.AddRange(new object[] {
            "-",
            "Naxx Melee 2",
            "Naxx Melee 4",
            "Naxx Nuker 2",
            "Naxx Nuker 4",
            "Worldbreaker Battlegear 2",
            "Worldbreaker Battlegear 4",
            "T9 Battlegear 2",
            "T9 Battlegear 4",
            "T9 Regalia 2",
            "T9 Regalia 4",
            "T10 Battlegear 2",
            "T10 Battlegear 4",
            "T11 Battlegear 2",
            "T11 Battlegear 4",
            "T12 Battlegear 2",
            "T12 Battlegear 4",
            "T13 Battlegear 2",
            "T13 Battlegear 4"});
            this.cb_set_bonus3.Location = new System.Drawing.Point(103, 108);
            this.cb_set_bonus3.Name = "cb_set_bonus3";
            this.cb_set_bonus3.Size = new System.Drawing.Size(220, 22);
            this.cb_set_bonus3.TabIndex = 24;
            this.cb_set_bonus3.Text = "-";
            this.cb_set_bonus3.TextChanged += new System.EventHandler(this.HandleSetBonusChanged);
            // 
            // cb_set_bonus2
            // 
            this.cb_set_bonus2.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_set_bonus2.FormattingEnabled = true;
            this.cb_set_bonus2.Items.AddRange(new object[] {
            "-",
            "Naxx Melee 2",
            "Naxx Melee 4",
            "Naxx Nuker 2",
            "Naxx Nuker 4",
            "Worldbreaker Battlegear 2",
            "Worldbreaker Battlegear 4",
            "T9 Battlegear 2",
            "T9 Battlegear 4",
            "T9 Regalia 2",
            "T9 Regalia 4",
            "T10 Battlegear 2",
            "T10 Battlegear 4",
            "T11 Battlegear 2",
            "T11 Battlegear 4",
            "T12 Battlegear 2",
            "T12 Battlegear 4",
            "T13 Battlegear 2",
            "T13 Battlegear 4"});
            this.cb_set_bonus2.Location = new System.Drawing.Point(103, 86);
            this.cb_set_bonus2.Name = "cb_set_bonus2";
            this.cb_set_bonus2.Size = new System.Drawing.Size(220, 22);
            this.cb_set_bonus2.TabIndex = 23;
            this.cb_set_bonus2.Text = "-";
            this.cb_set_bonus2.TextChanged += new System.EventHandler(this.HandleSetBonusChanged);
            // 
            // groupBox11
            // 
            this.groupBox11.Controls.Add(label17);
            this.groupBox11.Controls.Add(label19);
            this.groupBox11.Controls.Add(this.cb_oh_enchant);
            this.groupBox11.Controls.Add(label20);
            this.groupBox11.Controls.Add(label18);
            this.groupBox11.Controls.Add(this.cb_oh_imbue);
            this.groupBox11.Controls.Add(this.cb_mh_enchant);
            this.groupBox11.Controls.Add(label121);
            this.groupBox11.Controls.Add(this.cb_oh_weapon);
            this.groupBox11.Controls.Add(this.cb_mh_imbue);
            this.groupBox11.Controls.Add(label120);
            this.groupBox11.Controls.Add(this.cb_mh_weapon);
            this.groupBox11.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.groupBox11.ForeColor = System.Drawing.SystemColors.ControlText;
            this.groupBox11.Location = new System.Drawing.Point(13, 13);
            this.groupBox11.Name = "groupBox11";
            this.groupBox11.Size = new System.Drawing.Size(279, 175);
            this.groupBox11.TabIndex = 10;
            this.groupBox11.TabStop = false;
            this.groupBox11.Text = "Weapons";
            // 
            // cb_oh_enchant
            // 
            this.cb_oh_enchant.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_oh_enchant.FormattingEnabled = true;
            this.cb_oh_enchant.Items.AddRange(new object[] {
            "-",
            "Avalanche",
            "Hurricane",
            "Landslide",
            "Power Torrent",
            "Berserking",
            "Mongoose",
            "Executioner",
            "Deathfrost",
            "Black Magic"});
            this.cb_oh_enchant.Location = new System.Drawing.Point(106, 123);
            this.cb_oh_enchant.Name = "cb_oh_enchant";
            this.cb_oh_enchant.Size = new System.Drawing.Size(165, 22);
            this.cb_oh_enchant.TabIndex = 24;
            this.cb_oh_enchant.Text = "-";
            // 
            // cb_oh_imbue
            // 
            this.cb_oh_imbue.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_oh_imbue.FormattingEnabled = true;
            this.cb_oh_imbue.Items.AddRange(new object[] {
            "-",
            "Windfury",
            "Flametongue",
            "Frostbrand"});
            this.cb_oh_imbue.Location = new System.Drawing.Point(106, 101);
            this.cb_oh_imbue.Name = "cb_oh_imbue";
            this.cb_oh_imbue.Size = new System.Drawing.Size(165, 22);
            this.cb_oh_imbue.TabIndex = 23;
            this.cb_oh_imbue.Text = "-";
            // 
            // cb_mh_enchant
            // 
            this.cb_mh_enchant.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_mh_enchant.FormattingEnabled = true;
            this.cb_mh_enchant.Items.AddRange(new object[] {
            "-",
            "Avalanche",
            "Hurricane",
            "Landslide",
            "Power Torrent",
            "Berserking",
            "Mongoose",
            "Executioner",
            "Deathfrost",
            "Black Magic"});
            this.cb_mh_enchant.Location = new System.Drawing.Point(106, 43);
            this.cb_mh_enchant.Name = "cb_mh_enchant";
            this.cb_mh_enchant.Size = new System.Drawing.Size(165, 22);
            this.cb_mh_enchant.TabIndex = 21;
            this.cb_mh_enchant.Text = "-";
            // 
            // cb_oh_weapon
            // 
            this.cb_oh_weapon.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_oh_weapon.FormattingEnabled = true;
            this.cb_oh_weapon.Items.AddRange(new object[] {
            "-",
            "Axe",
            "Dagger",
            "Fist",
            "Mace",
            "NoKaled RF",
            "NoKaled",
            "NoKaled Heroic"});
            this.cb_oh_weapon.Location = new System.Drawing.Point(106, 145);
            this.cb_oh_weapon.Name = "cb_oh_weapon";
            this.cb_oh_weapon.Size = new System.Drawing.Size(165, 22);
            this.cb_oh_weapon.TabIndex = 25;
            this.cb_oh_weapon.Text = "-";
            this.cb_oh_weapon.SelectedIndexChanged += new System.EventHandler(this.cb_oh_weapon_SelectedIndexChanged);
            // 
            // cb_mh_imbue
            // 
            this.cb_mh_imbue.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_mh_imbue.FormattingEnabled = true;
            this.cb_mh_imbue.Items.AddRange(new object[] {
            "-",
            "Windfury",
            "Flametongue",
            "Frostbrand"});
            this.cb_mh_imbue.Location = new System.Drawing.Point(106, 21);
            this.cb_mh_imbue.Name = "cb_mh_imbue";
            this.cb_mh_imbue.Size = new System.Drawing.Size(165, 22);
            this.cb_mh_imbue.TabIndex = 20;
            this.cb_mh_imbue.Text = "-";
            // 
            // cb_mh_weapon
            // 
            this.cb_mh_weapon.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_mh_weapon.FormattingEnabled = true;
            this.cb_mh_weapon.Items.AddRange(new object[] {
            "-",
            "Axe",
            "Dagger",
            "Fist",
            "Mace",
            "NoKaled RF",
            "NoKaled",
            "NoKaled Heroic",
            "Black Bruise",
            "Black Bruise Heroic"});
            this.cb_mh_weapon.Location = new System.Drawing.Point(106, 65);
            this.cb_mh_weapon.Name = "cb_mh_weapon";
            this.cb_mh_weapon.Size = new System.Drawing.Size(165, 22);
            this.cb_mh_weapon.TabIndex = 22;
            this.cb_mh_weapon.Text = "-";
            this.cb_mh_weapon.SelectedIndexChanged += new System.EventHandler(this.cb_mh_weapon_SelectedIndexChanged);
            // 
            // mTalentPage
            // 
            this.mTalentPage.BackColor = System.Drawing.SystemColors.Control;
            this.mTalentPage.Controls.Add(this.label77);
            this.mTalentPage.Controls.Add(groupBox15);
            this.mTalentPage.Controls.Add(groupBox14);
            this.mTalentPage.Controls.Add(this.cb_primary_talent);
            this.mTalentPage.Location = new System.Drawing.Point(4, 23);
            this.mTalentPage.Name = "mTalentPage";
            this.mTalentPage.Size = new System.Drawing.Size(534, 443);
            this.mTalentPage.TabIndex = 2;
            this.mTalentPage.Text = "Talents";
            // 
            // label77
            // 
            this.label77.AutoSize = true;
            this.label77.Location = new System.Drawing.Point(23, 21);
            this.label77.Name = "label77";
            this.label77.Size = new System.Drawing.Size(75, 14);
            this.label77.TabIndex = 147;
            this.label77.Text = "Primary Talent";
            // 
            // mRotationPage
            // 
            this.mRotationPage.BackColor = System.Drawing.SystemColors.Control;
            this.mRotationPage.Controls.Add(this.mRotationMoveToStandard);
            this.mRotationPage.Controls.Add(this.mRotationMoveToAoE);
            this.mRotationPage.Controls.Add(this.lbRotationSkills);
            this.mRotationPage.Controls.Add(this.groupBox16);
            this.mRotationPage.Controls.Add(groupBox1);
            this.mRotationPage.Location = new System.Drawing.Point(4, 23);
            this.mRotationPage.Name = "mRotationPage";
            this.mRotationPage.Padding = new System.Windows.Forms.Padding(3);
            this.mRotationPage.Size = new System.Drawing.Size(534, 443);
            this.mRotationPage.TabIndex = 1;
            this.mRotationPage.Text = "Priority Queue";
            // 
            // mRotationMoveToStandard
            // 
            this.mRotationMoveToStandard.Font = new System.Drawing.Font("Wingdings", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
            this.mRotationMoveToStandard.Location = new System.Drawing.Point(149, 31);
            this.mRotationMoveToStandard.Name = "mRotationMoveToStandard";
            this.mRotationMoveToStandard.Size = new System.Drawing.Size(25, 395);
            this.mRotationMoveToStandard.TabIndex = 11;
            this.mRotationMoveToStandard.Text = "ß";
            this.mRotationMoveToStandard.UseVisualStyleBackColor = true;
            this.mRotationMoveToStandard.Click += new System.EventHandler(this.mRotationMoveToStandard_Click);
            // 
            // mRotationMoveToAoE
            // 
            this.mRotationMoveToAoE.Font = new System.Drawing.Font("Wingdings", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
            this.mRotationMoveToAoE.Location = new System.Drawing.Point(366, 31);
            this.mRotationMoveToAoE.Name = "mRotationMoveToAoE";
            this.mRotationMoveToAoE.Size = new System.Drawing.Size(25, 395);
            this.mRotationMoveToAoE.TabIndex = 13;
            this.mRotationMoveToAoE.Text = "à";
            this.mRotationMoveToAoE.UseVisualStyleBackColor = true;
            this.mRotationMoveToAoE.Click += new System.EventHandler(this.mRotationMoveToAoE_Click);
            // 
            // lbRotationSkills
            // 
            this.lbRotationSkills.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbRotationSkills.FormattingEnabled = true;
            this.lbRotationSkills.Items.AddRange(new object[] {
            "Chainlightning",
            "Earth Shock",
            "Fire Elemental",
            "Fire Nova",
            "Frost Shock",
            "Flame Shock",
            "Flame Shock - UE Flametongue",
            "Lava Burst",
            "Lava Burst - UE Flametongue",
            "Lava Lash",
            "Lava Lash SF5",
            "Lava Lash SF4",
            "Lava Lash SF3",
            "Lava Lash SF2",
            "Lava Lash SF1",
            "Lightning Bolt",
            "Magma Totem",
            "Magma Totem [if no] ticks left",
            "MW5 Chainlightning",
            "MW4 Chainlightning",
            "MW3 Chainlightning",
            "MW2 Chainlightning",
            "MW1 Chainlightning",
            "MW5 Lightning Bolt",
            "MW4 Lightning Bolt",
            "MW3 Lightning Bolt",
            "MW2 Lightning Bolt",
            "MW1 Lightning Bolt",
            "MW5 Chainlightning with SW",
            "MW4 Chainlightning with SW",
            "MW3 Chainlightning with SW",
            "MW2 Chainlightning with SW",
            "MW1 Chainlightning with SW",
            "MW5 Lightning Bolt with SW",
            "MW4 Lightning Bolt with SW",
            "MW3 Lightning Bolt with SW",
            "MW2 Lightning Bolt with SW",
            "MW1 Lightning Bolt with SW",
            "Searing Totem",
            "Searing Totem [if no] ticks left",
            "Shamanistic Rage",
            "Spirit Wolves",
            "Stormstrike",
            "Stormstrike [if no] Stormstrike debuff",
            "Unleashed Elements"});
            this.lbRotationSkills.Location = new System.Drawing.Point(180, 32);
            this.lbRotationSkills.Name = "lbRotationSkills";
            this.lbRotationSkills.Size = new System.Drawing.Size(180, 394);
            this.lbRotationSkills.TabIndex = 12;
            // 
            // groupBox16
            // 
            this.groupBox16.Controls.Add(this.btnDeleteSkillAoE);
            this.groupBox16.Controls.Add(this.btnAoERotationDown);
            this.groupBox16.Controls.Add(this.btnAoERotationUp);
            this.groupBox16.Controls.Add(this.lbAoERotationPriority);
            this.groupBox16.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.groupBox16.ForeColor = System.Drawing.SystemColors.ControlText;
            this.groupBox16.Location = new System.Drawing.Point(402, 13);
            this.groupBox16.Name = "groupBox16";
            this.groupBox16.Size = new System.Drawing.Size(126, 423);
            this.groupBox16.TabIndex = 14;
            this.groupBox16.TabStop = false;
            this.groupBox16.Text = "AoE Priority";
            // 
            // btnDeleteSkillAoE
            // 
            this.btnDeleteSkillAoE.Font = new System.Drawing.Font("Wingdings", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
            this.btnDeleteSkillAoE.Location = new System.Drawing.Point(6, 99);
            this.btnDeleteSkillAoE.Name = "btnDeleteSkillAoE";
            this.btnDeleteSkillAoE.Size = new System.Drawing.Size(25, 25);
            this.btnDeleteSkillAoE.TabIndex = 22;
            this.btnDeleteSkillAoE.Text = "û";
            this.btnDeleteSkillAoE.TextAlign = System.Drawing.ContentAlignment.TopCenter;
            this.btnDeleteSkillAoE.UseVisualStyleBackColor = true;
            this.btnDeleteSkillAoE.Click += new System.EventHandler(this.btnDeleteSkillAoE_Click);
            // 
            // btnAoERotationDown
            // 
            this.btnAoERotationDown.Font = new System.Drawing.Font("Wingdings", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
            this.btnAoERotationDown.Location = new System.Drawing.Point(6, 59);
            this.btnAoERotationDown.Name = "btnAoERotationDown";
            this.btnAoERotationDown.Size = new System.Drawing.Size(25, 25);
            this.btnAoERotationDown.TabIndex = 21;
            this.btnAoERotationDown.Text = "â";
            this.btnAoERotationDown.UseVisualStyleBackColor = true;
            this.btnAoERotationDown.Click += new System.EventHandler(this.btnAoERotationDown_Click);
            // 
            // btnAoERotationUp
            // 
            this.btnAoERotationUp.Font = new System.Drawing.Font("Wingdings", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
            this.btnAoERotationUp.Location = new System.Drawing.Point(6, 18);
            this.btnAoERotationUp.Name = "btnAoERotationUp";
            this.btnAoERotationUp.Size = new System.Drawing.Size(25, 25);
            this.btnAoERotationUp.TabIndex = 20;
            this.btnAoERotationUp.Text = "á";
            this.btnAoERotationUp.UseVisualStyleBackColor = true;
            this.btnAoERotationUp.Click += new System.EventHandler(this.btnAoERotationUp_Click);
            // 
            // lbAoERotationPriority
            // 
            this.lbAoERotationPriority.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbAoERotationPriority.FormattingEnabled = true;
            this.lbAoERotationPriority.ItemHeight = 14;
            this.lbAoERotationPriority.Location = new System.Drawing.Point(37, 20);
            this.lbAoERotationPriority.Name = "lbAoERotationPriority";
            this.lbAoERotationPriority.Size = new System.Drawing.Size(75, 396);
            this.lbAoERotationPriority.TabIndex = 23;
            // 
            // mCombatParameters
            // 
            this.mCombatParameters.BackColor = System.Drawing.SystemColors.Control;
            this.mCombatParameters.Controls.Add(groupBox5);
            this.mCombatParameters.Controls.Add(groupBox28);
            this.mCombatParameters.Controls.Add(groupBox27);
            this.mCombatParameters.Controls.Add(groupBox25);
            this.mCombatParameters.Location = new System.Drawing.Point(4, 23);
            this.mCombatParameters.Name = "mCombatParameters";
            this.mCombatParameters.Padding = new System.Windows.Forms.Padding(3);
            this.mCombatParameters.Size = new System.Drawing.Size(534, 443);
            this.mCombatParameters.TabIndex = 6;
            this.mCombatParameters.Text = "Combat Parameters";
            // 
            // mBuffPage
            // 
            this.mBuffPage.BackColor = System.Drawing.SystemColors.Control;
            this.mBuffPage.Controls.Add(this.groupBox26);
            this.mBuffPage.Controls.Add(groupBox22);
            this.mBuffPage.Controls.Add(groupBox7);
            this.mBuffPage.Controls.Add(groupBox10);
            this.mBuffPage.Location = new System.Drawing.Point(4, 23);
            this.mBuffPage.Name = "mBuffPage";
            this.mBuffPage.Size = new System.Drawing.Size(534, 443);
            this.mBuffPage.TabIndex = 3;
            this.mBuffPage.Text = "Consumables and Buffs";
            // 
            // groupBox26
            // 
            this.groupBox26.Controls.Add(this.cb_armor_debuff);
            this.groupBox26.Controls.Add(label163);
            this.groupBox26.Controls.Add(this.tb_armor_debuff);
            this.groupBox26.Controls.Add(label140);
            this.groupBox26.Controls.Add(label141);
            this.groupBox26.Controls.Add(this.tb_physical_vulnerability_debuff);
            this.groupBox26.Controls.Add(this.cb_physical_vulnerability_debuff);
            this.groupBox26.Controls.Add(label134);
            this.groupBox26.Controls.Add(this.cb_spell_damage_debuff);
            this.groupBox26.Controls.Add(this.tb_spell_damage_debuff);
            this.groupBox26.Controls.Add(this.cb_spell_crit_chance_debuff);
            this.groupBox26.Controls.Add(this.tb_spell_crit_chance_debuff);
            this.groupBox26.Location = new System.Drawing.Point(13, 255);
            this.groupBox26.Name = "groupBox26";
            this.groupBox26.Size = new System.Drawing.Size(254, 112);
            this.groupBox26.TabIndex = 13;
            this.groupBox26.TabStop = false;
            this.groupBox26.Text = "Debuffs";
            // 
            // mEPPage
            // 
            this.mEPPage.BackColor = System.Drawing.SystemColors.Control;
            this.mEPPage.Controls.Add(this.groupBox24);
            this.mEPPage.Controls.Add(this.groupBox23);
            this.mEPPage.Controls.Add(this.panel1);
            this.mEPPage.Location = new System.Drawing.Point(4, 23);
            this.mEPPage.Name = "mEPPage";
            this.mEPPage.Size = new System.Drawing.Size(534, 443);
            this.mEPPage.TabIndex = 4;
            this.mEPPage.Text = "EP";
            // 
            // groupBox24
            // 
            this.groupBox24.Controls.Add(this.nud_ep_precision);
            this.groupBox24.Controls.Add(label153);
            this.groupBox24.Controls.Add(label102);
            this.groupBox24.Controls.Add(this.cb_ep_base_stat);
            this.groupBox24.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.groupBox24.ForeColor = System.Drawing.SystemColors.ControlText;
            this.groupBox24.Location = new System.Drawing.Point(19, 199);
            this.groupBox24.Name = "groupBox24";
            this.groupBox24.Size = new System.Drawing.Size(227, 71);
            this.groupBox24.TabIndex = 11;
            this.groupBox24.TabStop = false;
            this.groupBox24.Text = "Settings";
            // 
            // nud_ep_precision
            // 
            this.nud_ep_precision.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.nud_ep_precision.Location = new System.Drawing.Point(126, 22);
            this.nud_ep_precision.Name = "nud_ep_precision";
            this.nud_ep_precision.Size = new System.Drawing.Size(48, 20);
            this.nud_ep_precision.TabIndex = 22;
            this.nud_ep_precision.Value = new decimal(new int[] {
            2,
            0,
            0,
            0});
            // 
            // cb_ep_base_stat
            // 
            this.cb_ep_base_stat.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cb_ep_base_stat.FormattingEnabled = true;
            this.cb_ep_base_stat.Items.AddRange(new object[] {
            "ap",
            "sp"});
            this.cb_ep_base_stat.Location = new System.Drawing.Point(126, 41);
            this.cb_ep_base_stat.Name = "cb_ep_base_stat";
            this.cb_ep_base_stat.Size = new System.Drawing.Size(48, 22);
            this.cb_ep_base_stat.TabIndex = 23;
            this.cb_ep_base_stat.Text = "ap";
            // 
            // groupBox23
            // 
            this.groupBox23.Controls.Add(label76);
            this.groupBox23.Controls.Add(this.tb_ep_strength);
            this.groupBox23.Controls.Add(label41);
            this.groupBox23.Controls.Add(this.tb_ep_agility);
            this.groupBox23.Controls.Add(label23);
            this.groupBox23.Controls.Add(this.tb_ep_int);
            this.groupBox23.Controls.Add(label70);
            this.groupBox23.Controls.Add(this.tb_ep_mastery_rating);
            this.groupBox23.Controls.Add(this.tb_ep_dps);
            this.groupBox23.Controls.Add(label72);
            this.groupBox23.Controls.Add(label75);
            this.groupBox23.Controls.Add(label73);
            this.groupBox23.Controls.Add(label74);
            this.groupBox23.Controls.Add(this.tb_ep_haste);
            this.groupBox23.Controls.Add(this.tb_ep_spellpower);
            this.groupBox23.Controls.Add(label71);
            this.groupBox23.Controls.Add(this.tb_ep_mana);
            this.groupBox23.Controls.Add(this.tb_ep_expertise);
            this.groupBox23.Controls.Add(label108);
            this.groupBox23.Controls.Add(this.tb_ep_spirit);
            this.groupBox23.Controls.Add(label68);
            this.groupBox23.Controls.Add(label107);
            this.groupBox23.Controls.Add(this.tb_ep_hit);
            this.groupBox23.Controls.Add(this.tb_ep_mp5);
            this.groupBox23.Controls.Add(this.tb_ep_ap);
            this.groupBox23.Controls.Add(label106);
            this.groupBox23.Controls.Add(label69);
            this.groupBox23.Controls.Add(this.tb_ep_crit);
            this.groupBox23.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.groupBox23.ForeColor = System.Drawing.SystemColors.ControlText;
            this.groupBox23.Location = new System.Drawing.Point(19, 276);
            this.groupBox23.Name = "groupBox23";
            this.groupBox23.Size = new System.Drawing.Size(500, 151);
            this.groupBox23.TabIndex = 12;
            this.groupBox23.TabStop = false;
            this.groupBox23.Text = "EP Ranges";
            // 
            // tb_ep_strength
            // 
            this.tb_ep_strength.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_ep_strength.Location = new System.Drawing.Point(420, 39);
            this.tb_ep_strength.Name = "tb_ep_strength";
            this.tb_ep_strength.Size = new System.Drawing.Size(48, 20);
            this.tb_ep_strength.TabIndex = 95;
            this.tb_ep_strength.Text = "30";
            // 
            // tb_ep_agility
            // 
            this.tb_ep_agility.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_ep_agility.Location = new System.Drawing.Point(420, 19);
            this.tb_ep_agility.Name = "tb_ep_agility";
            this.tb_ep_agility.Size = new System.Drawing.Size(48, 20);
            this.tb_ep_agility.TabIndex = 94;
            this.tb_ep_agility.Text = "30";
            // 
            // tb_ep_int
            // 
            this.tb_ep_int.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_ep_int.Location = new System.Drawing.Point(275, 119);
            this.tb_ep_int.Name = "tb_ep_int";
            this.tb_ep_int.Size = new System.Drawing.Size(48, 20);
            this.tb_ep_int.TabIndex = 93;
            this.tb_ep_int.Text = "30";
            // 
            // tb_ep_mastery_rating
            // 
            this.tb_ep_mastery_rating.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_ep_mastery_rating.Location = new System.Drawing.Point(105, 119);
            this.tb_ep_mastery_rating.Name = "tb_ep_mastery_rating";
            this.tb_ep_mastery_rating.Size = new System.Drawing.Size(48, 20);
            this.tb_ep_mastery_rating.TabIndex = 87;
            this.tb_ep_mastery_rating.Text = "30";
            // 
            // tb_ep_dps
            // 
            this.tb_ep_dps.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_ep_dps.Location = new System.Drawing.Point(275, 39);
            this.tb_ep_dps.Name = "tb_ep_dps";
            this.tb_ep_dps.Size = new System.Drawing.Size(48, 20);
            this.tb_ep_dps.TabIndex = 89;
            this.tb_ep_dps.Text = "7.5";
            // 
            // tb_ep_haste
            // 
            this.tb_ep_haste.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_ep_haste.Location = new System.Drawing.Point(105, 99);
            this.tb_ep_haste.Name = "tb_ep_haste";
            this.tb_ep_haste.Size = new System.Drawing.Size(48, 20);
            this.tb_ep_haste.TabIndex = 86;
            this.tb_ep_haste.Text = "30";
            // 
            // tb_ep_spellpower
            // 
            this.tb_ep_spellpower.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_ep_spellpower.Location = new System.Drawing.Point(275, 19);
            this.tb_ep_spellpower.Name = "tb_ep_spellpower";
            this.tb_ep_spellpower.Size = new System.Drawing.Size(48, 20);
            this.tb_ep_spellpower.TabIndex = 88;
            this.tb_ep_spellpower.Text = "150";
            // 
            // tb_ep_mana
            // 
            this.tb_ep_mana.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_ep_mana.Location = new System.Drawing.Point(275, 59);
            this.tb_ep_mana.Name = "tb_ep_mana";
            this.tb_ep_mana.Size = new System.Drawing.Size(48, 20);
            this.tb_ep_mana.TabIndex = 90;
            this.tb_ep_mana.Text = "250";
            // 
            // tb_ep_expertise
            // 
            this.tb_ep_expertise.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_ep_expertise.Location = new System.Drawing.Point(105, 79);
            this.tb_ep_expertise.Name = "tb_ep_expertise";
            this.tb_ep_expertise.Size = new System.Drawing.Size(48, 20);
            this.tb_ep_expertise.TabIndex = 85;
            this.tb_ep_expertise.Text = "30";
            this.tb_ep_expertise.TextChanged += new System.EventHandler(this.tb_ep_expertise_TextChanged);
            // 
            // tb_ep_spirit
            // 
            this.tb_ep_spirit.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_ep_spirit.Location = new System.Drawing.Point(275, 79);
            this.tb_ep_spirit.Name = "tb_ep_spirit";
            this.tb_ep_spirit.Size = new System.Drawing.Size(48, 20);
            this.tb_ep_spirit.TabIndex = 91;
            this.tb_ep_spirit.Text = "150";
            this.tb_ep_spirit.TextChanged += new System.EventHandler(this.tb_ep_spirit_TextChanged);
            // 
            // tb_ep_hit
            // 
            this.tb_ep_hit.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_ep_hit.Location = new System.Drawing.Point(105, 59);
            this.tb_ep_hit.Name = "tb_ep_hit";
            this.tb_ep_hit.Size = new System.Drawing.Size(48, 20);
            this.tb_ep_hit.TabIndex = 84;
            this.tb_ep_hit.Text = "30";
            this.tb_ep_hit.TextChanged += new System.EventHandler(this.tb_ep_hit_TextChanged);
            // 
            // tb_ep_mp5
            // 
            this.tb_ep_mp5.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_ep_mp5.Location = new System.Drawing.Point(275, 99);
            this.tb_ep_mp5.Name = "tb_ep_mp5";
            this.tb_ep_mp5.Size = new System.Drawing.Size(48, 20);
            this.tb_ep_mp5.TabIndex = 92;
            this.tb_ep_mp5.Text = "20";
            // 
            // tb_ep_ap
            // 
            this.tb_ep_ap.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_ep_ap.Location = new System.Drawing.Point(105, 19);
            this.tb_ep_ap.Name = "tb_ep_ap";
            this.tb_ep_ap.Size = new System.Drawing.Size(48, 20);
            this.tb_ep_ap.TabIndex = 82;
            this.tb_ep_ap.Text = "200";
            // 
            // tb_ep_crit
            // 
            this.tb_ep_crit.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tb_ep_crit.Location = new System.Drawing.Point(105, 39);
            this.tb_ep_crit.Name = "tb_ep_crit";
            this.tb_ep_crit.Size = new System.Drawing.Size(48, 20);
            this.tb_ep_crit.TabIndex = 83;
            this.tb_ep_crit.Text = "30";
            // 
            // panel1
            // 
            this.panel1.BackColor = System.Drawing.SystemColors.ButtonHighlight;
            this.panel1.Controls.Add(this.label156);
            this.panel1.Controls.Add(this.label132);
            this.panel1.Controls.Add(this.label131);
            this.panel1.Controls.Add(this.label130);
            this.panel1.Controls.Add(this.label129);
            this.panel1.Controls.Add(this.label128);
            this.panel1.Controls.Add(this.label127);
            this.panel1.Controls.Add(this.label126);
            this.panel1.Controls.Add(this.label124);
            this.panel1.Controls.Add(this.label122);
            this.panel1.Controls.Add(this.label8);
            this.panel1.Location = new System.Drawing.Point(0, -1);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(537, 194);
            this.panel1.TabIndex = 85;
            // 
            // label156
            // 
            this.label156.AutoSize = true;
            this.label156.Location = new System.Drawing.Point(12, 135);
            this.label156.Name = "label156";
            this.label156.Size = new System.Drawing.Size(160, 14);
            this.label156.TabIndex = 10;
            this.label156.Text = "ranges and high simulation time.";
            // 
            // label132
            // 
            this.label132.AutoSize = true;
            this.label132.Location = new System.Drawing.Point(12, 173);
            this.label132.Name = "label132";
            this.label132.Size = new System.Drawing.Size(515, 14);
            this.label132.TabIndex = 9;
            this.label132.Text = "give negative ep range to see how much EP hit/expertise is worth to have. To skip" +
    " a test, use 0 as range.";
            // 
            // label131
            // 
            this.label131.AutoSize = true;
            this.label131.Location = new System.Drawing.Point(12, 159);
            this.label131.Name = "label131";
            this.label131.Size = new System.Drawing.Size(493, 14);
            this.label131.TabIndex = 10;
            this.label131.Text = "If hit/spellhit or expertise is already over the cap, the ep calculation will be " +
    "skipped. Although you can";
            // 
            // label130
            // 
            this.label130.AutoSize = true;
            this.label130.Location = new System.Drawing.Point(12, 121);
            this.label130.Name = "label130";
            this.label130.Size = new System.Drawing.Size(498, 14);
            this.label130.TabIndex = 1;
            this.label130.Text = "the other hand, if you give too low EP ranges, you won\'t get accurate results. Be" +
    "st scenario is low EP";
            // 
            // label129
            // 
            this.label129.AutoSize = true;
            this.label129.Location = new System.Drawing.Point(12, 107);
            this.label129.Name = "label129";
            this.label129.Size = new System.Drawing.Size(505, 14);
            this.label129.TabIndex = 6;
            this.label129.Text = "If expertise goes over the cap with the added EP range, the EP value will be lowe" +
    "r than it should be. On";
            // 
            // label128
            // 
            this.label128.AutoSize = true;
            this.label128.Location = new System.Drawing.Point(12, 83);
            this.label128.Name = "label128";
            this.label128.Size = new System.Drawing.Size(288, 14);
            this.label128.TabIndex = 5;
            this.label128.Text = "corresponding stat after the baseline has been calculated.";
            // 
            // label127
            // 
            this.label127.AutoSize = true;
            this.label127.Location = new System.Drawing.Point(12, 69);
            this.label127.Name = "label127";
            this.label127.Size = new System.Drawing.Size(473, 14);
            this.label127.TabIndex = 4;
            this.label127.Text = "crit rating to get the dps/crit rating value. The values below are the amount tha" +
    "t gets added to the";
            // 
            // label126
            // 
            this.label126.AutoSize = true;
            this.label126.Location = new System.Drawing.Point(12, 55);
            this.label126.Name = "label126";
            this.label126.Size = new System.Drawing.Size(507, 14);
            this.label126.TabIndex = 3;
            this.label126.Text = "Then the dps gets simulated with the increased crit rating. The dps difference is" +
    " divide by the increased";
            // 
            // label124
            // 
            this.label124.AutoSize = true;
            this.label124.Location = new System.Drawing.Point(12, 41);
            this.label124.Name = "label124";
            this.label124.Size = new System.Drawing.Size(492, 14);
            this.label124.TabIndex = 2;
            this.label124.Text = "For example, to calculate the EP value of crit rating, first the sim calculates t" +
    "he normal (baseline) dps.";
            // 
            // label122
            // 
            this.label122.AutoSize = true;
            this.label122.Location = new System.Drawing.Point(12, 27);
            this.label122.Name = "label122";
            this.label122.Size = new System.Drawing.Size(414, 14);
            this.label122.TabIndex = 1;
            this.label122.Text = "To understand the EP ranges you have to understand how EP values are calculated.";
            // 
            // label8
            // 
            this.label8.AutoSize = true;
            this.label8.Font = new System.Drawing.Font("Arial", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label8.Location = new System.Drawing.Point(12, 8);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(70, 15);
            this.label8.TabIndex = 0;
            this.label8.Text = "EP Ranges";
            // 
            // mMainTabs
            // 
            this.mMainTabs.Controls.Add(this.mSimPage);
            this.mMainTabs.Controls.Add(this.mSolverPage);
            this.mMainTabs.Dock = System.Windows.Forms.DockStyle.Fill;
            this.mMainTabs.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mMainTabs.Location = new System.Drawing.Point(0, 24);
            this.mMainTabs.Name = "mMainTabs";
            this.mMainTabs.SelectedIndex = 0;
            this.mMainTabs.Size = new System.Drawing.Size(1003, 679);
            this.mMainTabs.TabIndex = 89;
            // 
            // mSolverPage
            // 
            this.mSolverPage.AutoScroll = true;
            this.mSolverPage.BackColor = System.Drawing.SystemColors.Control;
            this.mSolverPage.Controls.Add(this.btnTestDLL);
            this.mSolverPage.Controls.Add(this.label171);
            this.mSolverPage.Controls.Add(this.btnSolvePriorities);
            this.mSolverPage.Location = new System.Drawing.Point(4, 23);
            this.mSolverPage.Name = "mSolverPage";
            this.mSolverPage.Size = new System.Drawing.Size(995, 652);
            this.mSolverPage.TabIndex = 1;
            this.mSolverPage.Text = "Solver";
            // 
            // btnTestDLL
            // 
            this.btnTestDLL.Location = new System.Drawing.Point(23, 119);
            this.btnTestDLL.Name = "btnTestDLL";
            this.btnTestDLL.Size = new System.Drawing.Size(109, 41);
            this.btnTestDLL.TabIndex = 2;
            this.btnTestDLL.Text = "Test DLL";
            this.btnTestDLL.UseVisualStyleBackColor = true;
            this.btnTestDLL.Click += new System.EventHandler(this.btnTestDLL_Click);
            // 
            // label171
            // 
            this.label171.AutoSize = true;
            this.label171.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label171.Location = new System.Drawing.Point(16, 17);
            this.label171.Name = "label171";
            this.label171.Size = new System.Drawing.Size(581, 20);
            this.label171.TabIndex = 1;
            this.label171.Text = "This tab doesn\'t do much yet it is in preparation for some solver abilities";
            // 
            // btnSolvePriorities
            // 
            this.btnSolvePriorities.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btnSolvePriorities.Location = new System.Drawing.Point(20, 57);
            this.btnSolvePriorities.Name = "btnSolvePriorities";
            this.btnSolvePriorities.Size = new System.Drawing.Size(113, 34);
            this.btnSolvePriorities.TabIndex = 0;
            this.btnSolvePriorities.Text = "Solve Priorities";
            this.btnSolvePriorities.UseVisualStyleBackColor = true;
            this.btnSolvePriorities.Click += new System.EventHandler(this.btnSolvePriorities_Click);
            // 
            // mOpenBossFileDialog
            // 
            this.mOpenBossFileDialog.Filter = "text files|*.txt";
            this.mOpenBossFileDialog.FileOk += new System.ComponentModel.CancelEventHandler(this.mOpenBossFileDialog_FileOk);
            // 
            // mSaveBossFileDialog
            // 
            this.mSaveBossFileDialog.Filter = "text files|*.txt";
            this.mSaveBossFileDialog.FileOk += new System.ComponentModel.CancelEventHandler(this.mSaveBossFileDialog_FileOk);
            // 
            // MainForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.AutoScroll = true;
            this.BackColor = System.Drawing.SystemColors.Control;
            this.ClientSize = new System.Drawing.Size(1003, 703);
            this.Controls.Add(this.mMainTabs);
            this.Controls.Add(this.mMainMenu);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MainMenuStrip = this.mMainMenu;
            this.Name = "MainForm";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "EnhSimGui";
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
            this.Load += new System.EventHandler(this.MainForm_Load);
            theShamanGroup.ResumeLayout(false);
            theShamanGroup.PerformLayout();
            this.groupBox9.ResumeLayout(false);
            this.groupBox9.PerformLayout();
            this.groupBox4.ResumeLayout(false);
            this.groupBox4.PerformLayout();
            this.groupBox6.ResumeLayout(false);
            this.groupBox6.PerformLayout();
            this.groupBox3.ResumeLayout(false);
            this.groupBox3.PerformLayout();
            groupBox13.ResumeLayout(false);
            groupBox13.PerformLayout();
            groupBox15.ResumeLayout(false);
            groupBox15.PerformLayout();
            groupBox14.ResumeLayout(false);
            groupBox14.PerformLayout();
            groupBox1.ResumeLayout(false);
            groupBox7.ResumeLayout(false);
            groupBox7.PerformLayout();
            groupBox10.ResumeLayout(false);
            groupBox10.PerformLayout();
            groupBox8.ResumeLayout(false);
            this.groupBox21.ResumeLayout(false);
            this.groupBox21.PerformLayout();
            this.groupBox20.ResumeLayout(false);
            this.groupBox20.PerformLayout();
            groupBox12.ResumeLayout(false);
            groupBox19.ResumeLayout(false);
            groupBox19.PerformLayout();
            groupBox22.ResumeLayout(false);
            groupBox22.PerformLayout();
            groupBox25.ResumeLayout(false);
            groupBox25.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.nud_cast_searing_only_with_ticks_left)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.nud_cast_magma_only_with_ticks_left)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.nud_cast_fs_only_if_dots_left)).EndInit();
            groupBox27.ResumeLayout(false);
            groupBox27.PerformLayout();
            groupBox28.ResumeLayout(false);
            groupBox28.PerformLayout();
            groupBox5.ResumeLayout(false);
            groupBox5.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.nud_use_potion_before_combat)).EndInit();
            this.mMainMenu.ResumeLayout(false);
            this.mMainMenu.PerformLayout();
            this.mSimPage.ResumeLayout(false);
            this.mSecondaryTabs.ResumeLayout(false);
            this.mBossPage.ResumeLayout(false);
            this.mBossPage.PerformLayout();
            this.groupBox18.ResumeLayout(false);
            this.groupBox18.PerformLayout();
            this.groupBox17.ResumeLayout(false);
            this.groupBox17.PerformLayout();
            this.mProcPage.ResumeLayout(false);
            this.groupBox2.ResumeLayout(false);
            this.groupBox2.PerformLayout();
            this.groupBox11.ResumeLayout(false);
            this.groupBox11.PerformLayout();
            this.mTalentPage.ResumeLayout(false);
            this.mTalentPage.PerformLayout();
            this.mRotationPage.ResumeLayout(false);
            this.groupBox16.ResumeLayout(false);
            this.mCombatParameters.ResumeLayout(false);
            this.mBuffPage.ResumeLayout(false);
            this.groupBox26.ResumeLayout(false);
            this.groupBox26.PerformLayout();
            this.mEPPage.ResumeLayout(false);
            this.groupBox24.ResumeLayout(false);
            this.groupBox24.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.nud_ep_precision)).EndInit();
            this.groupBox23.ResumeLayout(false);
            this.groupBox23.PerformLayout();
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            this.mMainTabs.ResumeLayout(false);
            this.mSolverPage.ResumeLayout(false);
            this.mSolverPage.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
        #endregion

        private void loadBuff(TextBox tb, CheckBox cb, string str, Dictionary<string, string> cfg)
        {
            string str2 = gcf(str, cfg);
            if (str2 != "?")
            {
                if (!equalsZero(str2.Substring(0, str2.IndexOf('/'))))
                {
                    cb.Checked = true;
                    tb.Text = gcf_buff(str, cfg);
                }
                else
                {
                    cb.Checked = false;
                    tb.Text = gcf_buffd(str, cfg);
                }
                return;
            }
            tb.Text = str2;
        }

        private bool readConfigFile(string filename)
        {
            System.IO.FileInfo theInfo = new System.IO.FileInfo(filename);
            if (theInfo.Exists)
            {
                System.IO.StreamReader theFile = new System.IO.StreamReader(theInfo.FullName);
                Dictionary<string, string> theContents = new Dictionary<string, string>();
                try
                {
                    while (!theFile.EndOfStream)
                    {
                        ProcessLine(theContents, theFile.ReadLine());
                    }
                    ResetBossDetails();
                    loadedVersion = "not_present";
                    setImportableData(theContents);
                    if (loadedVersion == "not_present")
                        MessageBox.Show("Config file error. Version missing is this a very old config file?", "Import error", MessageBoxButtons.OK, MessageBoxIcon.Information);
                    else
                        return true;
                }
                catch
                {
                    
                }
                finally
                {
                    theFile.Dispose();
                }
            }
            else
            {
                //WORK AROUND: avoid a constant messagebox on startup if the gui can't locate the last config file
                if (filename == "empty634.txt")
                    return false;
                MessageBox.Show("Configuration file '" + filename + "' does not exist.", "Import error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                Application.UserAppDataRegistry.SetValue("last_config", "empty634.txt");
            }
            return false;
        }

        private bool readBossFile(string filename)
        {
            System.IO.FileInfo theInfo = new System.IO.FileInfo(filename);
            if (theInfo.Exists)
            {
                System.IO.StreamReader theFile = new System.IO.StreamReader(theInfo.FullName);
                Dictionary<string, string> theContents = new Dictionary<string, string>();
                try
                {
                    while (!theFile.EndOfStream)
                    {
                        ProcessLine(theContents, theFile.ReadLine());
                    }
                    ResetBossDetails();
                    processConfig(theContents); // skips the reset routines to just import data
                    return true;
                }
                catch
                {
                    MessageBox.Show("Boss file parse error.  Please submit to http://enhsim.codeplex.com/WorkItem/List.aspx.", "Import error");
                }
                finally
                {
                    theFile.Dispose();
                }
            }
            else
            {
                //WORK AROUND: avoid a constant messagebox on startup if the gui can't locate the last config file
                if (filename == "empty634.txt")
                    return false;
                MessageBox.Show("Boss file '" + filename + "' does not exist.", "Import error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                Application.UserAppDataRegistry.SetValue("last_config", "empty634.txt");
            }
            return false;
        }

        private void setImportableData(Dictionary<string, string> config)
        {
            ResetGearDetails();
            ResetGlyphs();

            if (config.ContainsKey("config_source") && config["config_source"].Equals("EnhSimGUI", StringComparison.CurrentCultureIgnoreCase))
            {
                ResetConsumables();
                ResetBuffs();
            }

            //ResetManaBuffs(); // No sources currently support setting mana buffs
            processConfig(config);
        }

        private void processConfig(Dictionary<string, string> config)
        {
            foreach (KeyValuePair<string, string> theConfigLine in config)
            {
                if (theConfigLine.Key.Contains("rotation_priority") || theConfigLine.Key.Contains("threads"))
                {
                    continue;
                }
                switch (theConfigLine.Key)
                {
                    case "agi":
                        mAgilityText.Text = gcf("agi", config);
                        break;
                    case "agi_and_strength_buff":
                        loadBuff(tb_agi_and_strength_buff, cb_agi_and_strength_buff, "agi_and_strength_buff", config);
                        break;
                    case "ancestral_knowledge":
                        cb_focused_strikes.Text = gcf("ancestral_knowledge", config).Substring(0, 1);
                        break;
                    case "ap":
                        mAPText.Text = gcf("ap", config);
                        break;
                    case "arcane_resistance":
                        tb_arcane_resistance.Text = gcf("arcane_resistance", config);
                        break;
                    case "armor":
                        tb_armor.Text = gcf("armor", config);
                        break;
                    case "armor_debuff":
                        loadBuff(tb_armor_debuff, cb_armor_debuff, "armor_debuff", config);
                        break;
                    case "attack_power_buff_multiplier":
                        loadBuff(tb_attack_power_buff_multiplier, cb_attack_power_buff_multiplier, "attack_power_buff_multiplier", config);
                        break;
                    case "armor_type_bonus":
                        cb_armor_type_bonus.Checked = gcf("armor_type_bonus", config).Equals("1");
                        break;
                    case "always_bloodlust_wolves":
                        cb_always_bloodlust_sw.Checked = gcf("always_bloodlust_wolves", config).Equals("1");
                        break;
                    case "use_bloodlust":
                        cb_bloodlust.Checked = gcf("use_bloodlust", config).Equals("1");
                        break;
                    case "bloodlust_casters":
                        break;
                    case "call_of_flame":
                        cb_call_of_flame.Text = gcf("call_of_flame", config).Substring(0, 1);
                        break;
                    case "cast_fs_only_if_dots_left":
                        decimal num3;
                        decimal.TryParse(gcf("cast_fs_only_if_dots_left", config), out num3);
                        nud_cast_fs_only_if_dots_left.Value = num3;
                        break;
                    case "cast_lvb_only_if_fs_active":
                        cb_cast_lvb_only_if_fs_active.Checked = gcf("cast_lvb_only_if_fs_active", config).Equals("1");
                        break;
                    case "cast_lvb_only_if_fsdots_left":
                        // skipping this
                        break;
                    case "cast_magma_only_if_ticks_left":
                        decimal magmaTickCount;
                        decimal.TryParse(gcf("cast_magma_only_if_ticks_left", config), out magmaTickCount);
                        nud_cast_magma_only_with_ticks_left.Value = magmaTickCount;
                        break;
                    case "cast_searing_only_if_ticks_left":
                        decimal searingTickCount;
                        decimal.TryParse(gcf("cast_searing_only_if_ticks_left", config), out searingTickCount);
                        nud_cast_searing_only_with_ticks_left.Value = searingTickCount;
                        break;
                    case "cast_sr_on_cooldown":
                        mCastSRonCooldown.Checked = gcf("cast_sr_on_cooldown", config).Equals("1");
                        break;
                    case "cast_sr_only_if_mana_left":
                        tb_cast_sr_only_if_mana_left.Text = gcf("cast_sr_only_if_mana_left", config);
                        break;
                    case "cloak_enchant":
                        cb_cloak_enchant.Text = frmtToGui(gcf("cloak_enchant", config));
                        break;
                    case "combat_length":
                        mCombatLengthText.Text = gcf("combat_length", config);
                        break;
                    case "concussion":
                        cb_concussion.Text = gcf("concussion", config).Substring(0, 1);
                        break;
                    case "config_source":
                        // Valid, but of no use
                        break;
                    case "config_version":
                        loadedVersion = gcf("config_version", config);
                        break;
                    case "convection":
                        cb_convection.Text = gcf("convection", config).Substring(0, 1);
                        break;
                    case "dodge":
                        tb_dodge.Text = gcf("dodge", config);
                        break;
                    case "elemental_devastation":
                        cb_elemental_devastation.Text = gcf("elemental_devastation", config).Substring(0, 1);
                        break;
                    case "elemental_focus":
                        cb_elemental_focus.Text = gcf("elemental_focus", config).Substring(0, 1);
                        break;
                    case "elemental_mastery":
                        cb_elemental_mastery.Text = gcf("elemental_mastery", config).Substring(0, 1);
                        break;
                    case "elemental_oath":
                        cb_elemental_oath.Text = gcf("elemental_oath", config).Substring(0, 1);
                        break;
                    case "elemental_precision":
                        cb_elemental_precision.Text = gcf("elemental_precision", config).Substring(0, 1);
                        break;
                    case "elemental_weapons":
                        cb_elemental_weapons.Text = gcf("elemental_weapons", config).Substring(0, 1);
                        break;
                    case "ep_ap":
                        tb_ep_ap.Text = gcf("ep_ap", config);
                        break;
                    case "ep_agility":
                        tb_ep_agility.Text = gcf("ep_agility", config);
                        break;
                    case "ep_base_stat":
                        cb_ep_base_stat.Text = gcf("ep_base_stat", config);
                        break;
                    case "ep_crit_rating":
                        tb_ep_crit.Text = gcf("ep_crit_rating", config);
                        break;
                    case "ep_dps":
                        tb_ep_dps.Text = gcf("ep_dps", config);
                        break;
                    case "ep_expertise_rating":
                        tb_ep_expertise.Text = gcf("ep_expertise_rating", config);
                        break;
                    case "ep_haste_rating":
                        tb_ep_haste.Text = gcf("ep_haste_rating", config);
                        break;
                    case "ep_hit_rating":
                        tb_ep_hit.Text = gcf("ep_hit_rating", config);
                        break;
                    case "ep_intellect":
                        tb_ep_int.Text = gcf("ep_intellect", config);
                        break;
                    case "ep_mana":
                        tb_ep_mana.Text = gcf("ep_mana", config);
                        break;
                    case "ep_mastery_rating":
                        tb_ep_mastery_rating.Text = gcf("ep_mastery_rating", config);
                        break;
                    case "ep_mp5":
                        tb_ep_mp5.Text = gcf("ep_mp5", config);
                        break;
                    case "ep_precision":
                        decimal num7;
                        decimal.TryParse(gcf("ep_precision", config), out num7);
                        nud_ep_precision.Value = num7;
                        break;
                    case "ep_spellpower":
                        tb_ep_spellpower.Text = gcf("ep_spellpower", config);
                        break;
                    case "ep_spirit":
                        tb_ep_spirit.Text = gcf("ep_spirit", config);
                        break;
                    case "ep_strength":
                        tb_ep_strength.Text = gcf("ep_strength", config);
                        break;
                    case "feedback":
                        cb_feedback.Text = gcf("feedback", config).Substring(0, 1);
                        break;
                    case "fight_name":
                        tb_fightName.Text = gcf("fight_name", config);
                        break;
                    case "fire_resistance":
                        tb_fire_resistance.Text = gcf("fire_resistance", config);
                        break;
                    case "flask_elixir":
                        cb_flask_elixir.Text = gcf("flask_elixir", config);
                        break;
                    case "flurry":
                        cb_flurry.Text = gcf("flurry", config).Substring(0, 1);
                        break;
                    case "focused_strikes":
                        cb_focused_strikes.Text = gcf("focused_strikes", config).Substring(0, 1);
                        break;
                    case "food":
                        cb_food.Text = frmtToGui(gcf("food", config));
                        break;
                    case "frost_resistance":
                        tb_frost_resistance.Text = gcf("frost_resistance", config);
                        break;
                    case "frozen_power":
                        cb_frozen_power.Text = gcf("frozen_power", config).Substring(0, 1);
                        break;
                    case "glancing":
                        tb_glancing.Text = gcf("glancing", config);
                        break;
                    case "gloves_enchant":
                        cb_gloves_enchant.Text = frmtToGui(gcf("gloves_enchant", config));
                        break;
                    case "glyph_prime1":
                        cb_glyph_prime1.Text = frmtToGui(gcf("glyph_prime1", config));
                        break;
                    case "glyph_prime2":
                        cb_glyph_prime2.Text = frmtToGui(gcf("glyph_prime2", config));
                        break;
                    case "glyph_prime3":
                        cb_glyph_prime3.Text = frmtToGui(gcf("glyph_prime3", config));
                        break;
                    case "glyph_major1":
                        cb_glyph_major1.Text = frmtToGui(gcf("glyph_major1", config));
                        break;
                    case "glyph_major2":
                        cb_glyph_major2.Text = frmtToGui(gcf("glyph_major2", config));
                        break;
                    case "glyph_major3":
                        cb_glyph_major3.Text = frmtToGui(gcf("glyph_major3", config));
                        break;
                    case "guardian_elixir":
                        cb_guardian_elixir.Text = frmtToGui(gcf("guardian_elixir", config));
                        break;
                    case "improved_lava_lash":
                        cb_improved_lava_lash.Text = gcf("improved_lava_lash", config).Substring(0, 1);
                        break;
                    case "improved_shields":
                        cb_improved_shields.Text = gcf("improved_shields", config).Substring(0, 1);
                        break;
                    case "int":
                        mIntText.Text = gcf("int", config);
                        break;
                    case "mana_buff":
                        loadBuff(tb_mana_buff, cb_mana_buff, "mana_buff", config);
                        break;
                    case "mana_regen_buff":
                        loadBuff(tb_mana_regen_buff, cb_mana_regen_buff, "mana_regen_buff", config);
                        break;
                    case "lava_flows":
                        cb_lava_flows.Text = gcf("lava_flows", config).Substring(0, 1);
                        break;
                    case "lava_surge":
                        cb_lava_surge.Text = gcf("lava_surge", config).Substring(0, 1);
                        break;
                    case "maelstrom_weapon":
                        cb_maelstrom_weapon.Text = gcf("maelstrom_weapon", config).Substring(0, 1);
                        break;
                    case "mastery_rating":
                        mMasteryRatingText.Text = gcf("mastery_rating", config);
                        break;
                    case "max_lag":
                        mMaxLagText.Text = gcf("max_lag", config);
                        break;
                    case "max_mana":
                        mMaxManaText.Text = gcf("max_mana", config);
                        break;
                    case "crit_chance_buff":
                        loadBuff(tb_crit_chance_buff, cb_crit_chance_buff, "crit_chance_buff", config);
                        break;
                    case "melee_haste":
                        mMeleeHasteText.Text = gcf("melee_haste", config);
                        break;
                    case "melee_haste_buff":
                        loadBuff(tb_melee_haste_buff, cb_melee_haste_buff, "melee_haste_buff", config);
                        break;
                    case "metagem":
                        string theGemText = gcf("metagem", config);
                        if (mMetagems.ContainsKey(theGemText))
                            cb_metagem.Text = frmtToGui(mMetagems[theGemText]);
                        else
                            cb_metagem.Text = frmtToGui(theGemText);
                        break;
                    case "mh_auto_attack":
                        cb_mh_auto_attack.Checked = gcf("mh_auto_attack", config).Equals("1");
                        break;
                    case "mh_crit":
                        mMainHandCritText.Text = gcf("mh_crit", config);
                        break;
                    case "mh_dps":
                        mMainHandDpsText.Text = gcf("mh_dps", config);
                        break;
                    case "mh_enchant":
                        string theMhEnchantText = gcf("mh_enchant", config);
                        if (mEnchants.ContainsKey(theMhEnchantText))
                            cb_mh_enchant.Text = frmtToGui(mEnchants[theMhEnchantText]);
                        else
                            cb_mh_enchant.Text = frmtToGui(theMhEnchantText);
                        break;
                    case "mh_expertise_rating":
                        mExpertiseRatingText.Text = gcf("mh_expertise_rating", config);
                        break;
                    case "mh_hit":
                        mMainHandHitText.Text = gcf("mh_hit", config);
                        break;
                    case "mh_imbue":
                        cb_mh_imbue.Text = frmtToGui(gcf("mh_imbue", config));
                        break;
                    case "mh_speed":
                        mMainHandSpeedText.Text = gcf("mh_speed", config);
                        break;
                    case "mh_weapon":
                        if (cb_mh_weapon.Text == "-")
                            cb_mh_weapon.Text = frmtToGui(gcf("mh_weapon", config));
                        break;
                    case "min_lag":
                        mMinLagText.Text = gcf("min_lag", config);
                        break;
                    case "miss":
                        tb_miss.Text = this.gcf("miss", config);
                        break;
                    case "mixology":
                        cb_mixology.Checked = gcf("mixology", config).Equals("1");
                        break;
                    case "mp5":
                        mMp5Text.Text = gcf("mp5", config);
                        break;
                    case "nature_resistance":
                        tb_nature_resistance.Text = gcf("nature_resistance", config);
                        break;
                    case "necrotic_touch":
                    case "necrotic_touch_heroic":
                        // skipping this
                        break;
                    case "oh_auto_attack":
                        cb_oh_auto_attack.Checked = gcf("oh_auto_attack", config).Equals("1");
                        break;
                    case "oh_crit":
                        // skipping this
                        break;
                    case "oh_dps":
                        mOffHandDpsText.Text = gcf("oh_dps", config);
                        break;
                    case "oh_enchant":
                        string theOhEnchantText = gcf("oh_enchant", config);
                        if (mEnchants.ContainsKey(theOhEnchantText))
                            cb_oh_enchant.Text = frmtToGui(mEnchants[theOhEnchantText]);
                        else
                            cb_oh_enchant.Text = frmtToGui(theOhEnchantText);
                        break;
                    case "oh_expertise_rating":
                        //skipping this
                        break;
                    case "oh_hit":
                        //skipping this
                        break;
                    case "oh_imbue":
                        cb_oh_imbue.Text = frmtToGui(gcf("oh_imbue", config));
                        break;
                    case "oh_speed":
                        mOffHandSpeedText.Text = gcf("oh_speed", config);
                        break;
                    case "oh_weapon":
                        cb_oh_weapon.Text = frmtToGui(gcf("oh_weapon", config));
                        break;
                    case "percentage_damage_increase":
                        loadBuff(tb_percentage_damage_increase, cb_percentage_damage_increase, "percentage_damage_increase", config);
                        break;
                    case "physical_vulnerability_debuff":
                        loadBuff(tb_physical_vulnerability_debuff, cb_physical_vulnerability_debuff, "physical_vulnerability_debuff", config);
                        break;
                    case "potion":
                        cb_potion.Text = frmtToGui(gcf("potion", config));
                        break;
                    case "primary_talent":
                        cb_primary_talent.Text = gcf("primary_talent", config);
                        break;
                    case "profession_buff":
                        cb_profession_buff.Text = frmtToGui(gcf("profession_buff", config));
                        break;
                    case "race":
                        mRaceCombo.Text = frmtToGui(gcf("race", config));
                        break;
                    case "replenishment":
                        cb_replenishment.Checked = gcf("replenishment", config).Equals("1");
                        break;
                    case "report_count":
                        mReportCountText.Text = gcf("report_count", config);
                        break;
                    case "reverberation":
                        cb_reverberation.Text = gcf("reverberation", config).Substring(0, 1);
                        break;
                    case "ring_proc":
                        cb_ring_proc.Text = frmtToGui(gcf("ring_proc", config));
                        break;
                    case "set_bonus1":
                        cb_set_bonus1.Text = frmtToGui(gcf("set_bonus1", config));
                        break;
                    case "set_bonus2":
                        cb_set_bonus2.Text = frmtToGui(gcf("set_bonus2", config));
                        break;
                    case "set_bonus3":
                        cb_set_bonus3.Text = frmtToGui(gcf("set_bonus3", config));
                        break;
                    case "shadow_resistance":
                        tb_shadow_resistance.Text = gcf("shadow_resistance", config);
                        break;
                    case "weapon_set_proc":
                        cb_weapon_set_proc.Text = frmtToGui(gcf("weapon_set_proc", config));
                        break;
                    case "additional_targets":
                        tb_addTargets.Text = gcf("additional_targets", config);
                        break;
                    case "additional_target_percent":
                        tb_addTargetPercent.Text = gcf("additional_target_percent", config);
                        break;
                    case "additional_target_level":
                        tb_addTargetsLevel.Text = gcf("additional_target_level", config);
                        break;
                    case "searing_flames":
                        cb_searing_flames.Text = gcf("searing_flames", config).Substring(0, 1);
                        break;
                    case "shamanistic_rage":
                        cb_shamanistic_rage.Text = gcf("shamanistic_rage", config).Substring(0, 1);
                        break;
                    case "simulate_mana":
                        mSimulateManaCheck.Checked = gcf("simulate_mana", config).Equals("1");
                        break;
                    case "simulation_time":
                        mSimTimeText.Text = gcf("simulation_time", config);
                        break;
                    case "simulation_time_combatlog":
                        mSimTimeCombatLogText.Text = gcf("simulation_time_combatlog", config);
                        break;
                    case "spell_crit":
                        mSpellCritText.Text = gcf("spell_crit", config);
                        break;
                    case "spell_crit_chance_debuff":
                        loadBuff(tb_spell_crit_chance_debuff, cb_spell_crit_chance_debuff, "spell_crit_chance_debuff", config);
                        break;
                    case "spell_damage_debuff":
                        loadBuff(tb_spell_damage_debuff, cb_spell_damage_debuff, "spell_damage_debuff", config);
                        break;
                    case "spell_haste":
                        mSpellHasteText.Text = gcf("spell_haste", config);
                        break;
                    case "spell_haste_buff":
                        loadBuff(tb_spell_haste_buff, cb_spell_haste_buff, "spell_haste_buff", config);
                        break;
                    case "spell_hit":
                        mSpellHitText.Text = gcf("spell_hit", config);
                        break;
                    case "spell_miss":
                        tb_spell_miss.Text = gcf("spell_miss", config);
                        break;
                    case "spellpower":
                        mSPText.Text = gcf("spellpower", config);
                        break;
                    case "spellpower_buff":
                        loadBuff(tb_spellpower_buff, cb_spellpower_buff, "spellpower_buff", config);
                        break;
                    case "spi":
                        mSpiritText.Text = gcf("spi", config);
                        break;
                    case "stat_multiplier":
                        loadBuff(tb_stat_multiplier, cb_stat_multiplier, "stat_multiplier", config);
                        break;
                    case "static_shock":
                        cb_static_shock.Text = gcf("static_shock", config).Substring(0, 1);
                        break;
                    case "storm_earth_and_fire":
                        cb_storm_earth_and_fire.Text = gcf("storm_earth_and_fire", config).Substring(0, 1);
                        break;
                    case "str":
                        mStrengthText.Text = gcf("str", config);
                        break;
                    case "combat_length_rng_factor":
                        string rawVarText = gcf("combat_length_rng_factor", config);
                        double rawVar = Convert.ToDouble(rawVarText);
                        int formatVar = (int)(rawVar * 100.0);
                        mCombatVarText.Text = formatVar.ToString();
                        break;
                    case "trinket1":
                        string theTrinket1Text = gcf("trinket1", config);
                        if (mTrinkets.ContainsKey(theTrinket1Text))
                            cb_trinket1.Text = frmtToGui(mTrinkets[theTrinket1Text]);
                        else
                            cb_trinket1.Text = frmtToGui(theTrinket1Text);
                        break;
                    case "trinket2":
                        string theTrinket2Text = gcf("trinket2", config);
                        if (mTrinkets.ContainsKey(theTrinket2Text))
                            cb_trinket2.Text = frmtToGui(mTrinkets[theTrinket2Text]);
                        else
                            cb_trinket2.Text = frmtToGui(theTrinket2Text);
                        break;
                    case "unleashed_rage":
                        cb_unleashed_rage.Text = gcf("unleashed_rage", config).Substring(0, 1);
                        break;
                    case "use_mana_potion_if_mana_left":
                        tb_use_mana_potion_if_mana_left.Text = gcf("use_mana_potion_if_mana_left", config);
                        break;
                    case "use_potion_before_combat":
                        nud_use_potion_before_combat.Text = gcf("use_potion_before_combat", config);
                        break;
                    case "water_shield":
                        cb_water_shield.Checked = gcf("water_shield", config).Equals("1");
                        break;
                    default:
                        MessageBox.Show("Unknown configuration option: \"" + theConfigLine.Key + "\" in config file. Please load the default config.txt supplied in zip file.", "Unknown configuration option", MessageBoxButtons.OK, MessageBoxIcon.Information);
                        throw new Exception("Unknown configuration option");
                }
            }
            AddStandardRotation(config);
            AddAoERotation(config);
        }

        private void ResetManaBuffs()
        {
            cb_replenishment.Checked = false;
            cb_water_shield.Checked = false;
        }

        private void ResetBuffs()
        {
            cb_armor_debuff.Checked = false;
            cb_physical_vulnerability_debuff.Checked = false;
            cb_melee_haste_buff.Checked = false;
            cb_crit_chance_buff.Checked = false;
            cb_attack_power_buff_multiplier.Checked = false;
            cb_spell_haste_buff.Checked = false;
            cb_spell_crit_chance_debuff.Checked = false;
            cb_spell_damage_debuff.Checked = false;
            cb_spellpower_buff.Checked = false;
            cb_percentage_damage_increase.Checked = false;
            cb_stat_multiplier.Checked = false;
            cb_agi_and_strength_buff.Checked = false;
            cb_mana_buff.Checked = false;
            cb_mana_regen_buff.Checked = false;
        }

        private void ResetConsumables()
        {
            cb_flask_elixir.Text = "-";
            cb_guardian_elixir.Text = "-";
            cb_potion.Text = "-";
            cb_food.Text = "-";
        }

        private void ResetGlyphs()
        {
            cb_glyph_prime1.Text = "-";
            cb_glyph_prime2.Text = "-";
            cb_glyph_prime3.Text = "-";
            cb_glyph_major1.Text = "-";
            cb_glyph_major2.Text = "-";
            cb_glyph_major3.Text = "-";
        }

        private void ResetBossDetails()
        {
            tb_fightName.Text = "";
        }

        private void ResetGearDetails()
        {
            //for (int i = 0; i < mProcsListBox.Items.Count; i++)
            //{
            //    mProcsListBox.SetItemChecked(i, false);
            //}
            cb_set_bonus1.Text = "-";
            cb_set_bonus2.Text = "-";
            cb_set_bonus3.Text = "-";
            cb_gloves_enchant.Text = "-";
            cb_cloak_enchant.Text = "-";
            cb_ring_proc.Text = "-";
            cb_weapon_set_proc.Text = "-";
            cb_metagem.Text = "-";
            cb_mh_weapon.Text = "-";
            cb_oh_weapon.Text = "-";
            cb_mh_enchant.Text = "-";
            cb_oh_enchant.Text = "-";
            cb_mh_imbue.Text = "-";
            cb_oh_imbue.Text = "-";
            cb_trinket1.Text = "-";
            cb_trinket2.Text = "-";
        }

        private void AddStandardRotation(Dictionary<string, string> config)
        {            
            if (config.ContainsKey("rotation_priority_count"))
            {
                lbStandardRotationPriority.Items.Clear();
                int rotationLength = Convert.ToInt32(gcf("rotation_priority_count", config));
                for (int i = 1; i < rotationLength + 1; i++)
                {
                    string rotationNumber = "rotation_priority" + i.ToString();
                    if (config.ContainsKey(rotationNumber))
                    {
                        string theConfigValue = config[rotationNumber];
                        lbStandardRotationPriority.Items.Add(theConfigValue);
                    }
                }
            }
        }
        private void AddAoERotation(Dictionary<string, string> config)
        {
            if (config.ContainsKey("aoe_rotation_priority_count"))
            {
                lbAoERotationPriority.Items.Clear();
                int rotationLength = Convert.ToInt32(gcf("aoe_rotation_priority_count", config));
                if (rotationLength > 0 && Convert.ToDouble(tb_addTargetPercent.Text) <= 0.0f)
                {
                    mInfoList[4] = "WARNING: No 'Time in Range' specified for additional target(s), AoE Priority Queue will not be used.";
                    updateInfoList();
                }
                for (int i = 1; i < rotationLength + 1; i++)
                {
                    string rotationNumber = "aoe_rotation_priority" + i.ToString();
                    if (config.ContainsKey(rotationNumber))
                    {
                        string theConfigValue = config[rotationNumber];
                        lbAoERotationPriority.Items.Add(theConfigValue);
                    }
                }
            }
        }


        private void updateInfoList()
        {
            mInfoListBox.Items.Clear();
            int num = 0;
            if (0 < mInfoListCount)
            {
                do
                {
                    if (!string.IsNullOrEmpty(mInfoList[num].ToString()))
                    {
                        mInfoListBox.Items.Add(mInfoList[num].ToString());
                    }
                    num++;
                }
                while (num < mInfoListCount);
            }
        }

        private void writeFileHeader(System.IO.StreamWriter theFile, string filename)
        {
            theFile.WriteLine("### Saved by v{0} of EnhSimGUI", scCurrentVersion);
            theFile.WriteLine();
        }

        private void writeBossFile(System.IO.StreamWriter theFile, string filename)
        {
            theFile.WriteLine(frmt("fight_name", tb_fightName.Text.ToLower().ToLower()));
            theFile.WriteLine(frmt("miss", tb_miss.Text.ToLower().ToLower()));
            theFile.WriteLine(frmt("dodge", tb_dodge.Text.ToLower()));
            theFile.WriteLine(frmt("glancing", tb_glancing.Text.ToLower()));
            theFile.WriteLine(frmt("armor", tb_armor.Text.ToLower()));
            theFile.WriteLine(frmt("spell_miss", tb_spell_miss.Text.ToLower()));
            theFile.WriteLine(frmt("nature_resistance", tb_nature_resistance.Text.ToLower()));
            theFile.WriteLine(frmt("fire_resistance", tb_fire_resistance.Text.ToLower()));
            theFile.WriteLine(frmt("frost_resistance", tb_frost_resistance.Text.ToLower()));
            theFile.WriteLine(frmt("arcane_resistance", tb_arcane_resistance.Text.ToLower()));
            theFile.WriteLine(frmt("shadow_resistance", tb_shadow_resistance.Text.ToLower()));
            theFile.WriteLine();
            theFile.WriteLine(frmt("additional_targets", tb_addTargets.Text.ToLower()));
            theFile.WriteLine(frmt("additional_target_percent", tb_addTargetPercent.Text.ToLower()));
            theFile.WriteLine(frmt("additional_target_level", tb_addTargetsLevel.Text.ToLower()));
            theFile.WriteLine();
        }

        private void writeConfigFile(string filename)
        {
            System.IO.StreamWriter theFile = new System.IO.StreamWriter(filename, false);
            writeFileHeader(theFile, filename);

            theFile.WriteLine(frmt("config_version", loadedVersion == string.Empty ? scCurrentVersion : loadedVersion));
            theFile.WriteLine(frmt("simulation_time", mSimTimeText.Text.ToLower()));
            theFile.WriteLine(frmt("simulation_time_combatlog", mSimTimeCombatLogText.Text.ToLower()));
            theFile.WriteLine(frmt("combat_length", mCombatLengthText.Text.ToLower()));
            theFile.WriteLine(frmt("report_count", mReportCountText.Text.ToLower()));
            theFile.WriteLine(frmt("threads", "1"));
            theFile.WriteLine(frmt("combat_length_rng_factor", (Convert.ToDouble(mCombatVarText.Text.ToLower()) / 100.0).ToString()));
            theFile.WriteLine(frmt("min_lag", mMinLagText.Text.ToLower()));
            theFile.WriteLine(frmt("max_lag", mMaxLagText.Text.ToLower()));
            theFile.WriteLine(frmt("simulate_mana", (mSimulateManaCheck.Checked ? "1" : "0")));
            theFile.WriteLine(frmt("cast_sr_on_cooldown", (mCastSRonCooldown.Checked ? "1" : "0")));
            theFile.WriteLine();
            theFile.WriteLine(frmt("ep_precision", nud_ep_precision.Text.ToLower()));
            theFile.WriteLine(frmt("ep_base_stat", cb_ep_base_stat.Text.ToLower()));
            theFile.WriteLine(frmt("ep_ap", tb_ep_ap.Text.ToLower()));
            theFile.WriteLine(frmt("ep_crit_rating", tb_ep_crit.Text.ToLower()));
            theFile.WriteLine(frmt("ep_hit_rating", tb_ep_hit.Text.ToLower()));
            theFile.WriteLine(frmt("ep_expertise_rating", tb_ep_expertise.Text.ToLower()));
            theFile.WriteLine(frmt("ep_haste_rating", tb_ep_haste.Text.ToLower()));
            theFile.WriteLine(frmt("ep_mastery_rating", tb_ep_mastery_rating.Text.ToLower()));
            theFile.WriteLine(frmt("ep_spellpower", tb_ep_spellpower.Text.ToLower()));
            theFile.WriteLine(frmt("ep_dps", tb_ep_dps.Text.ToLower()));
            theFile.WriteLine(frmt("ep_mana", tb_ep_mana.Text.ToLower()));
            theFile.WriteLine(frmt("ep_spirit", tb_ep_spirit.Text.ToLower()));
            theFile.WriteLine(frmt("ep_mp5", tb_ep_mp5.Text.ToLower()));
            theFile.WriteLine(frmt("ep_intellect", tb_ep_int.Text.ToLower()));
            theFile.WriteLine(frmt("ep_agility", tb_ep_agility.Text.ToLower()));
            theFile.WriteLine(frmt("ep_strength", tb_ep_strength.Text.ToLower()));
            theFile.WriteLine();
            theFile.WriteLine(frmt("mh_auto_attack", (cb_mh_auto_attack.Checked ? "1" : "0")));
            theFile.WriteLine(frmt("oh_auto_attack", (cb_oh_auto_attack.Checked ? "1" : "0")));
            theFile.WriteLine(frmt("use_bloodlust", (cb_bloodlust.Checked ? "1" : "0"))); 
            theFile.WriteLine(frmt("always_bloodlust_wolves", (cb_always_bloodlust_sw.Checked ? "1" : "0")));
            theFile.WriteLine(frmt("cast_lvb_only_if_fs_active", (cb_cast_lvb_only_if_fs_active.Checked ? "1" : "0")));
            theFile.WriteLine(frmt("cast_fs_only_if_dots_left", nud_cast_fs_only_if_dots_left.Text.ToLower()));
            theFile.WriteLine(frmt("cast_magma_only_if_ticks_left", nud_cast_magma_only_with_ticks_left.Text.ToLower()));
            theFile.WriteLine(frmt("cast_searing_only_if_ticks_left", nud_cast_searing_only_with_ticks_left.Text.ToLower()));
            theFile.WriteLine(frmt("cast_sr_only_if_mana_left", tb_cast_sr_only_if_mana_left.Text.ToLower()));
            theFile.WriteLine(frmt("use_mana_potion_if_mana_left", tb_use_mana_potion_if_mana_left.Text.ToLower()));
            theFile.WriteLine(frmt("use_potion_before_combat", (nud_use_potion_before_combat.Text.ToLower())));
            string mhWeapon = cb_mh_weapon.Text.ToLower();
            theFile.WriteLine();
            theFile.WriteLine(frmt("gloves_enchant", cb_gloves_enchant.Text.ToLower()));
            theFile.WriteLine(frmt("cloak_enchant", cb_cloak_enchant.Text.ToLower()));
            theFile.WriteLine(frmt("ring_proc", cb_ring_proc.Text.ToLower()));
            theFile.WriteLine(frmt("weapon_set_proc", cb_weapon_set_proc.Text.ToLower()));
            theFile.WriteLine();

            theFile.WriteLine(frmt("rotation_priority_count", lbStandardRotationPriority.Items.Count.ToString()));
            for (int i = 0; i < lbStandardRotationPriority.Items.Count; i++)
            {
                theFile.WriteLine(frmt("rotation_priority" + (i + 1), lbStandardRotationPriority.Items[i].ToString().ToUpper()));
            }

            theFile.WriteLine();
            theFile.WriteLine(frmt("aoe_rotation_priority_count", lbAoERotationPriority.Items.Count.ToString()));
            for (int i = 0; i < lbAoERotationPriority.Items.Count; i++)
            {
                theFile.WriteLine(frmt("aoe_rotation_priority" + (i + 1), lbAoERotationPriority.Items[i].ToString().ToUpper()));
            }

            theFile.WriteLine();
            writeBossFile(theFile, filename);
            theFile.WriteLine(frmtBuff("armor_debuff", tb_armor_debuff.Text.ToLower(), tb_armor_debuff.Enabled));
            theFile.WriteLine(frmtBuff("physical_vulnerability_debuff", tb_physical_vulnerability_debuff.Text.ToLower(), tb_physical_vulnerability_debuff.Enabled));
            theFile.WriteLine(frmtBuff("melee_haste_buff", tb_melee_haste_buff.Text.ToLower(), tb_melee_haste_buff.Enabled));
            theFile.WriteLine(frmtBuff("crit_chance_buff", tb_crit_chance_buff.Text.ToLower(), tb_crit_chance_buff.Enabled));
            theFile.WriteLine(frmtBuff("attack_power_buff_multiplier", tb_attack_power_buff_multiplier.Text.ToLower(), tb_attack_power_buff_multiplier.Enabled));
            theFile.WriteLine(frmtBuff("spell_haste_buff", tb_spell_haste_buff.Text.ToLower(), tb_spell_haste_buff.Enabled));
            theFile.WriteLine(frmtBuff("spell_crit_chance_debuff", tb_spell_crit_chance_debuff.Text.ToLower(), tb_spell_crit_chance_debuff.Enabled));
            theFile.WriteLine(frmtBuff("spell_damage_debuff", tb_spell_damage_debuff.Text.ToLower(), tb_spell_damage_debuff.Enabled));
            theFile.WriteLine(frmtBuff("spellpower_buff", tb_spellpower_buff.Text.ToLower(), tb_spellpower_buff.Enabled));
            theFile.WriteLine(frmtBuff("percentage_damage_increase", tb_percentage_damage_increase.Text.ToLower(), tb_percentage_damage_increase.Enabled));
            theFile.WriteLine(frmtBuff("stat_multiplier", tb_stat_multiplier.Text.ToLower(), tb_stat_multiplier.Enabled));
            theFile.WriteLine(frmtBuff("agi_and_strength_buff", tb_agi_and_strength_buff.Text.ToLower(), tb_agi_and_strength_buff.Enabled));
            theFile.WriteLine(frmtBuff("mana_buff", tb_mana_buff.Text.ToLower(), tb_mana_buff.Enabled));
            theFile.WriteLine(frmtBuff("mana_regen_buff", tb_mana_regen_buff.Text.ToLower(), tb_mana_regen_buff.Enabled));
            theFile.WriteLine();
            theFile.WriteLine(frmt("replenishment", (cb_replenishment.Checked ? "1" : "0")));
            theFile.WriteLine(frmt("water_shield", (cb_water_shield.Checked ? "1" : "0")));
            theFile.WriteLine(frmt("mixology", (cb_mixology.Checked ? "1" : "0")));
            theFile.WriteLine();
            theFile.WriteLine(frmt("flask_elixir", cb_flask_elixir.Text.ToLower()));
            theFile.WriteLine(frmt("guardian_elixir", cb_guardian_elixir.Text.ToLower()));
            theFile.WriteLine(frmt("potion", cb_potion.Text.ToLower()));
            theFile.WriteLine(frmt("food", cb_food.Text.ToLower()));
            theFile.WriteLine(frmt("profession_buff", cb_profession_buff.Text.ToLower()));
            theFile.WriteLine();
            theFile.WriteLine("###############################################################################");
            theFile.WriteLine("### Everything in the section below can be replaced by information obtained ###");
            theFile.WriteLine("### from your paper doll stats or exported by the ShockAndAwe addon         ###");
            theFile.WriteLine("###############################################################################");
            theFile.WriteLine();
            theFile.WriteLine(frmt("race", mRaceCombo.Text.ToLower()));
            theFile.WriteLine(frmt("mh_speed", mMainHandSpeedText.Text.ToLower()));
            theFile.WriteLine(frmt("oh_speed", mOffHandSpeedText.Text.ToLower()));
            theFile.WriteLine(frmt("mh_dps", mMainHandDpsText.Text.ToLower()));
            theFile.WriteLine(frmt("oh_dps", mOffHandDpsText.Text.ToLower()));
            theFile.WriteLine(frmt("mh_crit", mMainHandCritText.Text.ToLower()));
            theFile.WriteLine(frmt("oh_crit", mMainHandCritText.Text.ToLower()));
            theFile.WriteLine(frmt("mh_hit", mMainHandHitText.Text.ToLower()));
            theFile.WriteLine(frmt("oh_hit", mMainHandHitText.Text.ToLower()));
            theFile.WriteLine(frmt("mh_expertise_rating", mExpertiseRatingText.Text.ToLower()));
            theFile.WriteLine(frmt("oh_expertise_rating", mExpertiseRatingText.Text.ToLower()));
            theFile.WriteLine(frmt("ap", mAPText.Text.ToLower()));
            theFile.WriteLine(frmt("melee_haste", mMeleeHasteText.Text.ToLower()));
            theFile.WriteLine(frmt("str", mStrengthText.Text.ToLower()));
            theFile.WriteLine(frmt("agi", mAgilityText.Text.ToLower()));
            theFile.WriteLine(frmt("int", mIntText.Text.ToLower()));
            theFile.WriteLine(frmt("spi", mSpiritText.Text.ToLower()));
            theFile.WriteLine(frmt("mastery_rating", mMasteryRatingText.Text.ToLower()));
            theFile.WriteLine(frmt("spellpower", mSPText.Text.ToLower()));
            theFile.WriteLine(frmt("spell_crit", mSpellCritText.Text.ToLower()));
            theFile.WriteLine(frmt("spell_hit", mSpellHitText.Text.ToLower()));
            theFile.WriteLine(frmt("spell_haste", mSpellHasteText.Text.ToLower()));
            theFile.WriteLine(frmt("max_mana", mMaxManaText.Text.ToLower()));
            theFile.WriteLine(frmt("mp5", mMp5Text.Text.ToLower()));
            theFile.WriteLine();
            theFile.WriteLine(frmt("mh_imbue", cb_mh_imbue.Text.ToLower()));
            theFile.WriteLine(frmt("oh_imbue", cb_oh_imbue.Text.ToLower()));
            theFile.WriteLine();
            theFile.WriteLine(frmt("mh_enchant", cb_mh_enchant.Text.ToLower()));
            theFile.WriteLine(frmt("oh_enchant", cb_oh_enchant.Text.ToLower()));
            theFile.WriteLine();
            theFile.WriteLine(frmt("mh_weapon", cb_mh_weapon.Text.ToLower()));
            theFile.WriteLine(frmt("oh_weapon", cb_oh_weapon.Text.ToLower()));
            theFile.WriteLine();
            theFile.WriteLine(frmt("trinket1", cb_trinket1.Text.ToLower()));
            theFile.WriteLine(frmt("trinket2", cb_trinket2.Text.ToLower()));
            theFile.WriteLine();
            theFile.WriteLine(frmt("set_bonus1", cb_set_bonus1.Text.ToLower()));
            theFile.WriteLine(frmt("set_bonus2", cb_set_bonus2.Text.ToLower()));
            theFile.WriteLine(frmt("set_bonus3", cb_set_bonus3.Text.ToLower()));
            theFile.WriteLine();
            theFile.WriteLine(frmt("metagem", cb_metagem.Text.ToLower()));
            theFile.WriteLine();
            theFile.WriteLine(frmt("glyph_prime1", cb_glyph_prime1.Text.ToLower()));
            theFile.WriteLine(frmt("glyph_prime2", cb_glyph_prime2.Text.ToLower()));
            theFile.WriteLine(frmt("glyph_prime3", cb_glyph_prime3.Text.ToLower()));
            theFile.WriteLine();
            theFile.WriteLine(frmt("glyph_major1", cb_glyph_major1.Text.ToLower()));
            theFile.WriteLine(frmt("glyph_major2", cb_glyph_major2.Text.ToLower()));
            theFile.WriteLine(frmt("glyph_major3", cb_glyph_major3.Text.ToLower()));
            theFile.WriteLine();
            theFile.WriteLine(frmt("armor_type_bonus", (cb_armor_type_bonus.Checked ? "1" : "0")));
            theFile.WriteLine();
            theFile.WriteLine(frmt("primary_talent", cb_primary_talent.Text.ToLower()));
            theFile.WriteLine(frmt("elemental_weapons", cb_elemental_weapons.Text.ToLower()) + "/" + (cb_elemental_weapons.Items.Count - 1));
            theFile.WriteLine(frmt("focused_strikes", cb_focused_strikes.Text.ToLower()) + "/" + (cb_focused_strikes.Items.Count - 1));
            theFile.WriteLine(frmt("improved_shields", cb_improved_shields.Text.ToLower()) + "/" + (cb_improved_shields.Items.Count - 1));
            theFile.WriteLine(frmt("elemental_devastation", cb_elemental_devastation.Text.ToLower()) + "/" + (cb_elemental_devastation.Items.Count - 1));
            theFile.WriteLine(frmt("flurry", cb_flurry.Text.ToLower()) + "/" + (cb_flurry.Items.Count - 1));
            theFile.WriteLine(frmt("static_shock", cb_static_shock.Text.ToLower()) + "/" + (cb_static_shock.Items.Count - 1));
            theFile.WriteLine(frmt("searing_flames", cb_searing_flames.Text.ToLower()) + "/" + (cb_searing_flames.Items.Count - 1));
            theFile.WriteLine(frmt("frozen_power", cb_frozen_power.Text.ToLower()) + "/" + (cb_frozen_power.Items.Count - 1));
            theFile.WriteLine(frmt("shamanistic_rage", cb_shamanistic_rage.Text.ToLower()) + "/" + (cb_shamanistic_rage.Items.Count - 1));
            theFile.WriteLine(frmt("unleashed_rage", cb_unleashed_rage.Text.ToLower()) + "/" + (cb_unleashed_rage.Items.Count - 1));
            theFile.WriteLine(frmt("improved_lava_lash", cb_improved_lava_lash.Text.ToLower()) + "/" + (cb_improved_lava_lash.Items.Count - 1));
            theFile.WriteLine(frmt("maelstrom_weapon", cb_maelstrom_weapon.Text.ToLower()) + "/" + (cb_maelstrom_weapon.Items.Count - 1));
            theFile.WriteLine();
            theFile.WriteLine(frmt("convection", cb_convection.Text.ToLower()) + "/" + (cb_convection.Items.Count - 1));
            theFile.WriteLine(frmt("concussion", cb_concussion.Text.ToLower()) + "/" + (cb_concussion.Items.Count - 1));
            theFile.WriteLine(frmt("call_of_flame", cb_call_of_flame.Text.ToLower()) + "/" + (cb_call_of_flame.Items.Count - 1));
            theFile.WriteLine(frmt("reverberation", cb_reverberation.Text.ToLower()) + "/" + (cb_reverberation.Items.Count - 1));
            theFile.WriteLine(frmt("elemental_precision", cb_elemental_precision.Text.ToLower()) + "/" + (cb_elemental_precision.Items.Count - 1));
            theFile.WriteLine(frmt("elemental_focus", cb_elemental_focus.Text.ToLower()) + "/" + (cb_elemental_focus.Items.Count - 1));
            theFile.WriteLine(frmt("elemental_oath", cb_elemental_oath.Text.ToLower()) + "/" + (cb_elemental_oath.Items.Count - 1));
            theFile.WriteLine(frmt("lava_flows", cb_lava_flows.Text.ToLower()) + "/" + (cb_lava_flows.Items.Count - 1));
            theFile.WriteLine(frmt("storm_earth_and_fire", cb_storm_earth_and_fire.Text.ToLower()) + "/" + (cb_storm_earth_and_fire.Items.Count - 1));
            theFile.WriteLine(frmt("elemental_mastery", cb_elemental_mastery.Text.ToLower()) + "/" + (cb_elemental_mastery.Items.Count - 1));
            theFile.WriteLine(frmt("feedback", cb_feedback.Text.ToLower()) + "/" + (cb_feedback.Items.Count - 1));
            theFile.WriteLine(frmt("lava_surge", cb_lava_surge.Text.ToLower()) + "/" + (cb_lava_surge.Items.Count - 1));
            theFile.Close();
            theFile.Dispose();
        }

        void _timerCheckForUpdates_Callback(object data)
        {
            if (_checkForUpdatesEnabled)
            {
                Version currentVersion = new Version(scCurrentVersion);
                string strLatestVersion = new EnhSimGUI.WebRequestWrapper().GetLatestVersionString();
                if (!string.IsNullOrEmpty(strLatestVersion))
                {
                    Version latestVersion = new Version(strLatestVersion);
                    if (currentVersion < latestVersion)
                    {
                        _checkForUpdatesEnabled = false;
                        DialogResult result = MessageBox.Show(string.Format("A new version of EnhSim has been released, version {0}!\nWould you like to go to the EnhSim site to download the new version?",
                            strLatestVersion), "New Version Released!", MessageBoxButtons.YesNo, MessageBoxIcon.Information);
                        if (result == DialogResult.Yes)
                            Help.ShowHelp(null, "http://enhsim.codeplex.com/");
                    }
                }
                string strBetaVersion = new EnhSimGUI.WebRequestWrapper().GetBetaVersionString();
                if (!string.IsNullOrEmpty(strBetaVersion))
                {
                    Version betaVersion = new Version(strBetaVersion);
                    if (currentVersion < betaVersion)
                    {
                        _checkForUpdatesEnabled = false;
                        DialogResult result = MessageBox.Show(string.Format("A new TEST version of EnhSim has been released, version {0}!\nWould you like to go to the EnhSim site to download the new version?\nPlease note this version is possibly unstable and should only be used by testers.",
                            strBetaVersion), "New TEST Version Released!", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
                        if (result == DialogResult.Yes)
                            Help.ShowHelp(null, "http://enhsim.codeplex.com/");
                    }
                }
            }
        }

        private void FillTrinketsDictionary()
        {
            mTrinkets = new Dictionary<string, string>();
            mTrinkets.Add("69001", "Ancient Petrified Seed");
            mTrinkets.Add("72897", "Arrow of Time");
            mTrinkets.Add("71335", "Corens Chilled Chromium Coaster");
            mTrinkets.Add("62051", "Darkmoon Card Hurricane");
            mTrinkets.Add("62047", "Darkmoon Card Volcano");
            mTrinkets.Add("59473", "Essence of the Cyclone");
            mTrinkets.Add("65140", "Essence of the Cyclone Heroic");
            mTrinkets.Add("52199", "Figurine Demon Panther");
            mTrinkets.Add("58181", "Fluid Death");
            mTrinkets.Add("55266", "Grace of the Herald");
            mTrinkets.Add("56295", "Grace of the Herald Heroic");
            mTrinkets.Add("66969", "Heart of the Vile");
            mTrinkets.Add("55795", "Key to the Endless Chamber");
            mTrinkets.Add("56328", "Key to the Endless Chamber Heroic");
            mTrinkets.Add("77113", "Kiroptyric Sigil");
            mTrinkets.Add("56102", "Left Eye of Rajh");
            mTrinkets.Add("56427", "Left Eye of Rajh Heroic");
            mTrinkets.Add("58483", "Lifebound Alchemist Stone");
            mTrinkets.Add("68994", "Matrix Restabilizer");
            mTrinkets.Add("69150", "Matrix Restabilizer Heroic");
            mTrinkets.Add("59441", "Prestors Talisman of Machination");
            mTrinkets.Add("65026", "Prestors Talisman of Machination Heroic");
            mTrinkets.Add("68776", "Quicksilver Alchemist Stone");
            mTrinkets.Add("70144", "Rickets Magnetic Fireball");
            mTrinkets.Add("65805", "Schnottzs Medallion of Command");
            mTrinkets.Add("56115", "Skardyns Grace");
            mTrinkets.Add("56440", "Skardyns Grace Heroic");
            mTrinkets.Add("77973", "Starcatcher Compass RF");
            mTrinkets.Add("77202", "Starcatcher Compass");
            mTrinkets.Add("77993", "Starcatcher Compass Heroic");
            mTrinkets.Add("55874", "Tias Grace");
            mTrinkets.Add("56394", "Tias Grace Heroic");
            mTrinkets.Add("68927", "The Hungerer");
            mTrinkets.Add("69112", "The Hungerer Heroic");
            mTrinkets.Add("59520", "Unheeded Warning");
            mTrinkets.Add("62463", "Unsolvable Riddle");
            mTrinkets.Add("62468", "Unsolvable Riddle");
            mTrinkets.Add("68709", "Unsolvable Riddle");
            mTrinkets.Add("68925", "Variable Pulse Lightning Capacitor");
            mTrinkets.Add("69110", "Variable Pulse Lightning Capacitor Heroic");
            mTrinkets.Add("77979", "Vial of Shadows RF");
            mTrinkets.Add("77207", "Vial of Shadows");
            mTrinkets.Add("77999", "Vial of Shadows Heroic");
            mTrinkets.Add("68777", "Vibrant Alchemist Stone");
            mTrinkets.Add("68775", "Volatile Alchemist Stone");
            mTrinkets.Add("77974", "Wrath of Unchaining RF");
            mTrinkets.Add("77197", "Wrath of Unchaining");
            mTrinkets.Add("77994", "Wrath of Unchaining Heroic");
            mTrinkets.Add("28288", "abacus_of_violent_odds");
            mTrinkets.Add("47213", "abyssal_rune");
            mTrinkets.Add("32491", "ashtongue_talisman");
            mTrinkets.Add("32658", "badge_of_tenacity");
            mTrinkets.Add("40371", "bandits_insignia");
            mTrinkets.Add("47214", "banner_of_victory");
            mTrinkets.Add("33831", "berserkers_call");
            mTrinkets.Add("34427", "blackened_naaru_sliver");
            mTrinkets.Add("45522", "blood_of_the_old_god");
            mTrinkets.Add("29383", "bloodlust_brooch");
            mTrinkets.Add("54572", "charred_twilight_scale");
            mTrinkets.Add("54588", "charred_twilight_scale_heroic");
            mTrinkets.Add("45609", "comets_trail");
            mTrinkets.Add("49074", "corens_chromium_coaster");
            mTrinkets.Add("46038", "dark_matter");
            mTrinkets.Add("31856", "darkmoon_card_crusade");
            mTrinkets.Add("42987", "darkmoon_card_greatness");
            mTrinkets.Add("44253", "darkmoon_card_greatness");
            mTrinkets.Add("44254", "darkmoon_card_greatness");
            mTrinkets.Add("44255", "darkmoon_card_greatness");
            mTrinkets.Add("50362", "deathbringers_will");
            mTrinkets.Add("50363", "deathbringers_will_heroic");
            mTrinkets.Add("47303", "deaths_choice");
            mTrinkets.Add("47464", "deaths_choice_heroic");
            mTrinkets.Add("47115", "deaths_verdict");
            mTrinkets.Add("47131", "deaths_verdict_heroic");
            mTrinkets.Add("50353", "dislodged_foreign_object");
            mTrinkets.Add("50348", "dislodged_foreign_object_heroic");
            mTrinkets.Add("28830", "dragonspine_trophy");
            mTrinkets.Add("40255", "dying_curse");
            mTrinkets.Add("45866", "elemental_focus_stone");
            mTrinkets.Add("39229", "embrace_of_the_spider");
            mTrinkets.Add("47879", "fetish_of_volatile_power");
            mTrinkets.Add("48018", "fetish_of_volatile_power_heroic");
            mTrinkets.Add("44014", "fezziks_pocketwatch");
            mTrinkets.Add("45518", "flare_of_the_heavens");
            mTrinkets.Add("37660", "forge_ember");
            mTrinkets.Add("40431", "fury_of_the_five_flights");
            mTrinkets.Add("40256", "grim_toll");
            mTrinkets.Add("50355", "herkuml_war_token");
            mTrinkets.Add("28034", "hourglass_of_the_unraveller");
            mTrinkets.Add("40432", "illustration_of_the_dragon_soul");
            mTrinkets.Add("37723", "incisor_fragment");
            mTrinkets.Add("39257", "loathebs_shadow");
            mTrinkets.Add("32505", "madness_of_the_betrayer");
            mTrinkets.Add("40531", "mark_of_norgannon");
            mTrinkets.Add("47734", "mark_of_supremacy");
            mTrinkets.Add("37873", "mark_of_the_war_prisoner");
            mTrinkets.Add("37390", "meteorite_whetstone");
            mTrinkets.Add("40684", "mirror_of_truth");
            mTrinkets.Add("45931", "mjolnir_runestone");
            mTrinkets.Add("50340", "muradins_spyglass");
            mTrinkets.Add("50345", "muradins_spyglass_heroic");
            mTrinkets.Add("50198", "needle_encrusted_scorpion");
            mTrinkets.Add("37264", "pendulum_of_telluric_currents");
            mTrinkets.Add("45286", "pyrite_infuser");
            mTrinkets.Add("47316", "reign_of_the_dead");
            mTrinkets.Add("47477", "reign_of_the_dead_heroic");
            mTrinkets.Add("47182", "reign_of_the_unliving");
            mTrinkets.Add("47188", "reign_of_the_unliving_heroic");
            mTrinkets.Add("38764", "rune_of_finite_variation");
            mTrinkets.Add("35702", "shadowsong_panther");
            mTrinkets.Add("34472", "shard_of_contempt");
            mTrinkets.Add("48722", "shard_of_the_crystal_heart");
            mTrinkets.Add("54569", "sharpened_twilight_scale");
            mTrinkets.Add("54590", "sharpened_twilight_scale_heroic");
            mTrinkets.Add("37166", "sphere_of_red_dragons_blood");
            mTrinkets.Add("40682", "sundial_of_the_exiled");
            mTrinkets.Add("48724", "talisman_of_resurgence");
            mTrinkets.Add("47726", "talisman_of_volatile_power");
            mTrinkets.Add("47946", "talisman_of_volatile_power_heroic");
            mTrinkets.Add("43573", "tears_of_bitter_anguish");
            mTrinkets.Add("32483", "the_skull_of_guldan");
            mTrinkets.Add("43836", "thorny_rose_brooch");
            mTrinkets.Add("38072", "thunder_capacitor");
            mTrinkets.Add("50351", "tiny_abomination_in_a_jar");
            mTrinkets.Add("50706", "tiny_abomination_in_a_jar_heroic");
            mTrinkets.Add("36972", "tome_of_arcane_phenomena");
            mTrinkets.Add("30627", "tsunami_talisman");
            mTrinkets.Add("42395", "twilight_serpent");
            mTrinkets.Add("47881", "vengeance_of_the_forsaken");
            mTrinkets.Add("48020", "vengeance_of_the_forsaken_heroic");
            mTrinkets.Add("37064", "vestige_of_haldor");
            mTrinkets.Add("47725", "victors_call");
            mTrinkets.Add("47948", "victors_call_heroic");
            mTrinkets.Add("50342", "whispering_fanged_skull");
            mTrinkets.Add("50343", "whispering_fanged_skull_heroic");
            mTrinkets.Add("45263", "wrathstone");

        }

        private void FillEnchantDictionary()
        {
            mEnchants = new Dictionary<string, string>();
            mEnchants.Add("2673", "mongoose");
            mEnchants.Add("1900", "crusader");
            mEnchants.Add("3225", "executioner");
            mEnchants.Add("3273", "deathfrost");
            mEnchants.Add("3789", "berserking");
            mEnchants.Add("3790", "black magic");
            mEnchants.Add("4067", "avalanche");
            mEnchants.Add("4083", "hurricane");
            mEnchants.Add("4097", "power torrent");
            mEnchants.Add("4099", "landslide");
        }

        private void FillMetagemDictionary()
        {
            mMetagems = new Dictionary<string, string>();
            mMetagems.Add("32410", "thundering_skyfire_diamond");
            mMetagems.Add("32409", "relentless_earthstorm_diamond");
            mMetagems.Add("34220", "chaotic_skyfire_diamond");
            mMetagems.Add("41285", "chaotic_skyflare_diamond");
            mMetagems.Add("41398", "relentless_earthsiege_diamond");
            mMetagems.Add("41333", "ember_skyflare_diamond");
            mMetagems.Add("68778", "agile_shadowspirit_diamond");
            mMetagems.Add("68780", "burning_shadowspirit_diamond");
            mMetagems.Add("52291", "chaotic_shadowspirit_diamond");
            mMetagems.Add("52296", "ember_shadowspirit_diamond");
            mMetagems.Add("68779", "reverberating_shadowspirit_diamond");
        }

        #endregion

        #region Private Controls

        private IContainer components;
        private MenuStrip mMainMenu;
        private OpenFileDialog mOpenFileDialog;
        private OpenFileDialog openFileDialog2;
        private SaveFileDialog mSaveFileDialog;
        private ToolStripMenuItem mFileToolStripMenuItem;
        private ToolStripMenuItem mExitToolStripMenuItem;
        private ToolStripMenuItem mLoadToolStripMenuItem;
        private ToolStripMenuItem mSaveAsToolStripMenuItem;
        private ToolStripMenuItem mSaveToolStripMenuItem;
        private ToolTip mToolTip;

        #endregion

        #region Private Variables

        private System.Threading.Timer _timerCheckForUpdates;

        private readonly ArrayList mInfoList = new ArrayList();

        private int mInfoListCount;

        private string mConfigstring;

        private bool _checkForUpdatesEnabled = true;

        private System.Collections.Generic.Dictionary<string, string> mTrinkets;
        private System.Collections.Generic.Dictionary<string, string> mEnchants;
        private System.Collections.Generic.Dictionary<string, string> mMetagems;

        private TabControl mMainTabs;
        private TabPage mSimPage;

        private ToolStripMenuItem enhSimHomepageToolStripMenuItem;
        private ToolStripMenuItem enhSimIssueTrackerToolStripMenuItem;
        private ToolStripMenuItem enhSimWikiToolStripMenuItem;
        private ToolStripSeparator toolStripMenuItem1;
        private ToolStripMenuItem rawrHomepageToolStripMenuItem;
        private ToolStripMenuItem eJForumEnhSimThreadToolStripMenuItem;
        private OpenFileDialog mOpenBossFileDialog;
        private ToolStripSeparator toolStripMenuItem2;
        private ToolStripMenuItem openBossFileToolStripMenuItem;
        private ToolStripSeparator toolStripMenuItem3;
        private ToolStripMenuItem linksToolStripMenuItem;

        #endregion
        private ToolStripMenuItem saveBossFileAsToolStripMenuItem;
        private SaveFileDialog mSaveBossFileDialog;

        private bool fightNameValidKey = true;
        private void tb_fightName_KeyDown(object sender, KeyEventArgs e)
        {
            fightNameValidKey = true;
            if (e.KeyCode == Keys.Space || e.KeyCode == Keys.OemQuotes || e.KeyCode == Keys.Oemcomma)
                fightNameValidKey = false;
        }

        private void tb_fightName_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (!fightNameValidKey)
                e.Handled = true; // prevents filtered keys (space) being pressed
        }

        private void btnSolvePriorities_Click(object sender, EventArgs e)
        {
            //TODO
            //String[] priorities = new String[16];
            //int count = 0;
            //int index = 0;
            //Solver.SolveGA tsp = new Solver.SolveGA();
            //do
            //{
            //    if (clb_rotation_priority.CheckedIndices.Contains(index))
            //    {
            //        priorities[++count] = clb_rotation_priority.Items[index].ToString().ToUpper();
            //    }
            //    index++;
            //}
            //while (index < clb_rotation_priority.Items.Count);
            //tsp.Initialization(priorities, count);
            //tsp.TSPCompute();
        }

        private void btnTestDLL_Click(object sender, EventArgs e)
        {
            writeConfigFile("enhsimgui_config.txt");
            //EnhSimDLLWrapper.setFilename("enhsimgui_config.txt");
            double result = EnhSimDLLWrapper.simulate();
            MessageBox.Show("Run dll result is " + result);
        }

        //Returns the abbrivate skill name
        private string abbrivateSkill(string fullSkillName)
        {
            switch (fullSkillName)
            {
                case "Chainlightning":
                    return "CL";
                case "Earth Shock":
                    return "ES";
                case "Fire Elemental":
                    return "FE";
                case "Fire Nova":
                    return "FN";
                case "Frost Shock":
                    return "Frost";
                case "Flame Shock":
                    return "FS";
                case "Flame Shock - UE Flametongue":
                    return "FS_UEF";
                case "Lava Burst":
                    return "LvB";
                case "Lava Burst - UE Flametongue":
                    return "LVB_UEF";
                case "Lava Lash":
                    return "LL";
                case "Lava Lash SF5":
                    return "LL_SF5";
                case "Lava Lash SF4":
                    return "LL_SF4";
                case "Lava Lash SF3":
                    return "LL_SF3";
                case "Lava Lash SF2":
                    return "LL_SF2";
                case "Lava Lash SF1":
                    return "LL_SF1";
                case "Lightning Bolt":
                    return "LB";
                case "Magma Totem":
                    return "MT";
                case "Magma Totem [if no] ticks left":
                    return "MT_0";
                case "MW5 Chainlightning":
                    return "MW5_CL";
                case "MW4 Chainlightning":
                    return "MW4_CL";
                case "MW3 Chainlightning":
                    return "MW3_CL";
                case "MW2 Chainlightning":
                    return "MW2_CL";
                case "MW1 Chainlightning":
                    return "MW1_CL";
                case "MW5 Lightning Bolt":
                    return "MW5_LB";
                case "MW4 Lightning Bolt":
                    return "MW4_LB";
                case "MW3 Lightning Bolt":
                    return "MW3_LB";
                case "MW2 Lightning Bolt":
                    return "MW2_LB";
                case "MW1 Lightning Bolt":
                    return "MW1_LB";
                case "MW5 Chainlightning with SW":
                    return "MW5_CL_SW";
                case "MW4 Chainlightning with SW":
                    return "MW4_CL_SW";
                case "MW3 Chainlightning with SW":
                    return "MW3_CL_SW";
                case "MW2 Chainlightning with SW":
                    return "MW2_CL_SW";
                case "MW1 Chainlightning with SW":
                    return "MW1_CL_SW";
                case "MW5 Lightning Bolt with SW":
                    return "MW5_LB_SW";
                case "MW4 Lightning Bolt with SW":
                    return "MW4_LB_SW";
                case "MW3 Lightning Bolt with SW":
                    return "MW3_LB_SW";
                case "MW2 Lightning Bolt with SW":
                    return "MW2_LB_SW";
                case "MW1 Lightning Bolt with SW":
                    return "MW1_LB_SW";
                case "Searing Totem":
                    return "ST";
                case "Searing Totem [if no] ticks left":
                    return "ST_0";
                case "Shamanistic Rage":
                    return "SR";
                case "Spirit Wolves":
                    return "SW";
                case "Stormstrike":
                    return "SS";
                case "Stormstrike [if no] Stormstrike debuff":
                    return "SS_0";
                case "Unleashed Elements":
                    return "UE";
                default:
                    return "";
            }
        }

        //Returns the abbrivated name of the selected skill
        private string getSelectedRotationSkill()
        {
            int itemIndex = lbRotationSkills.SelectedIndex;
            if (itemIndex == -1)
            {
                MessageBox.Show("Select a skill from the list to add \n to the priority queue.", "No skill selected", MessageBoxButtons.OK, MessageBoxIcon.Information);
                return "";
            }
            object skill = lbRotationSkills.Items[itemIndex];

            return abbrivateSkill(lbRotationSkills.GetItemText(skill));
        }

        //Adds the selected skill to the standard rotation
        private void mRotationMoveToStandard_Click(object sender, EventArgs e)
        {
            string skillName = getSelectedRotationSkill();
            if (skillName == string.Empty)
                return;

            if (!lbStandardRotationPriority.Items.Contains(skillName))
                lbStandardRotationPriority.Items.Add(skillName);
            else
                MessageBox.Show(skillName + " is already part of the Standard Priority List.", "Skill already in priority list", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }

        //Adds the selected skill to the aoe rotation
        private void mRotationMoveToAoE_Click(object sender, EventArgs e)
        {
            string skillName = getSelectedRotationSkill();
            if (skillName == string.Empty)
                return;

            //check if aoe time has been specified
            if (Convert.ToDouble(tb_addTargetPercent.Text) <= 0.0f)
            {
                mInfoList[4] = "WARNING: No 'Time in Range' specified for additional target(s), AoE Priority Queue will not be used.";
                updateInfoList();
            }
            //add to list
            if (!lbAoERotationPriority.Items.Contains(skillName))
                lbAoERotationPriority.Items.Add(skillName);
            else
                MessageBox.Show(skillName + " is already part of the AoE Priority List.", "Skill already in priority list", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }

        //Moves the selected skill one index up in the standard rotation list
        private void btnStandardRotationUp_Click(object sender, EventArgs e)
        {
            int indexSelectedSkill = lbStandardRotationPriority.SelectedIndex;
            if (indexSelectedSkill == -1)
            {
                MessageBox.Show("Select a skill to move.", "No skill selected", MessageBoxButtons.OK, MessageBoxIcon.Information);
                return;
            }
            object selectedSkill = lbStandardRotationPriority.Items[indexSelectedSkill];

            //Move the selectedSkill up if the index is > 0;
            if (indexSelectedSkill > 0)
            {
                lbStandardRotationPriority.Items[indexSelectedSkill] = lbStandardRotationPriority.Items[--indexSelectedSkill];
                lbStandardRotationPriority.Items[indexSelectedSkill] = selectedSkill;
            }
            //set index to selectedSkill again
            lbStandardRotationPriority.SelectedIndex = indexSelectedSkill;
        }

        //Moves the selected skill one index down in the standard rotation list
        private void btnStandardRotationDown_Click(object sender, EventArgs e)
        {
            int indexSelectedSkill = lbStandardRotationPriority.SelectedIndex;
            if (indexSelectedSkill == -1)
            {
                MessageBox.Show("Select a skill to move.", "No skill selected", MessageBoxButtons.OK, MessageBoxIcon.Information);
                return;
            }
            object selectedSkill = lbStandardRotationPriority.Items[indexSelectedSkill];

            //Move the selectedSkill down if the index is smaller than the listbox count;
            if (indexSelectedSkill < lbStandardRotationPriority.Items.Count - 1)
            {
                lbStandardRotationPriority.Items[indexSelectedSkill] = lbStandardRotationPriority.Items[++indexSelectedSkill];
                lbStandardRotationPriority.Items[indexSelectedSkill] = selectedSkill;
            }
            //set index to selectedSkill again
            lbStandardRotationPriority.SelectedIndex = indexSelectedSkill;
        }

        //Moves the selected skill one index up in the aoe rotation list
        private void btnAoERotationUp_Click(object sender, EventArgs e)
        {
            int indexSelectedSkill = lbAoERotationPriority.SelectedIndex;
            if (indexSelectedSkill == -1)
            {
                MessageBox.Show("Select a skill to move.", "No skill selected", MessageBoxButtons.OK, MessageBoxIcon.Information);
                return;
            }
            object selectedSkill = lbAoERotationPriority.Items[indexSelectedSkill];

            //Move the selectedSkill up if the index is > 0;
            if (indexSelectedSkill > 0)
            {
                lbAoERotationPriority.Items[indexSelectedSkill] = lbAoERotationPriority.Items[--indexSelectedSkill];
                lbAoERotationPriority.Items[indexSelectedSkill] = selectedSkill;
            }
            //set index to selectedSkill again
            lbAoERotationPriority.SelectedIndex = indexSelectedSkill;
        }

        //Moves the selected skill one index down in the aoe rotation list
        private void btnAoERotationDown_Click(object sender, EventArgs e)
        {
            int indexSelectedSkill = lbAoERotationPriority.SelectedIndex;
            if (indexSelectedSkill == -1)
            {
                MessageBox.Show("Select a skill to move.", "No skill selected", MessageBoxButtons.OK, MessageBoxIcon.Information);
                return;
            }
            object selectedSkill = lbAoERotationPriority.Items[indexSelectedSkill];

            //Move the selectedSkill down if the index is smaller than the listbox count;
            if (indexSelectedSkill < lbAoERotationPriority.Items.Count - 1)
            {
                lbAoERotationPriority.Items[indexSelectedSkill] = lbAoERotationPriority.Items[++indexSelectedSkill];
                lbAoERotationPriority.Items[indexSelectedSkill] = selectedSkill;
            }
            //set index to selectedSkill again
            lbAoERotationPriority.SelectedIndex = indexSelectedSkill;
        }

        //removes the selected skill from the standard priority list
        private void btnDeleteSkillStandard_Click(object sender, EventArgs e)
        {
            int indexSelectedSkill = lbStandardRotationPriority.SelectedIndex;
            //skill selected?
            if (indexSelectedSkill > -1)
            {
                object selectedSkill = lbStandardRotationPriority.Items[indexSelectedSkill];
                lbStandardRotationPriority.Items.Remove(selectedSkill);
                if (indexSelectedSkill < lbStandardRotationPriority.Items.Count) lbStandardRotationPriority.SelectedIndex = indexSelectedSkill;
            }
            else
                MessageBox.Show("Select a skill to delete.", "No skill selected", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }

        //removes the selected skill from the aoe priority list
        private void btnDeleteSkillAoE_Click(object sender, EventArgs e)
        {
            int indexSelectedSkill = lbAoERotationPriority.SelectedIndex;
            //skill selected?
            if (indexSelectedSkill > -1)
            {
                object selectedSkill = lbAoERotationPriority.Items[indexSelectedSkill];
                lbAoERotationPriority.Items.Remove(selectedSkill);
                if (indexSelectedSkill < lbAoERotationPriority.Items.Count) lbAoERotationPriority.SelectedIndex = indexSelectedSkill;
                if (lbAoERotationPriority.Items.Count == 0)
                {
                    mInfoList[4] = "";
                    updateInfoList();
                }
            }
            else
                MessageBox.Show("Select a skill to delete.", "No skill selected", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }

        private void tb_addTargetPercent_TextChanged(object sender, EventArgs e)
        {
            try
            {
                if (Convert.ToDouble(tb_addTargetPercent.Text) > 0.0)
                {
                    mInfoList[4] = "";
                    updateInfoList();
                }
                else if(lbAoERotationPriority.Items.Count != 0)
                {
                    mInfoList[4] = "WARNING: No 'Time in Range' specified for additional target(s), AoE Priority Queue will not be used.";
                    updateInfoList();
                }
            }
            catch { }                
        }

        //If the bloodlust is unchecked disable 'always bloodlust wolves' checkbox
        private void cb_Bloodlust_CheckedChanged(object sender, EventArgs e)
        {
            if (cb_bloodlust.Checked)
                cb_always_bloodlust_sw.Enabled = true;
            else
            {
                cb_always_bloodlust_sw.Checked = false;
                cb_always_bloodlust_sw.Enabled = false;
            }
        }
    }
}
